Merge pull request #349 from stongo/acme-bundle

#345: bundle intermediate certificates
This commit is contained in:
Vincent Demeester 2016-05-03 11:49:35 +02:00
commit 11a6331185

View file

@ -406,7 +406,7 @@ func (a *ACME) saveAccount(Account *Account) error {
func (a *ACME) getDomainsCertificates(client *acme.Client, domains []string) (*Certificate, error) {
log.Debugf("Loading ACME certificates %s...", domains)
bundle := false
bundle := true
certificate, failures := client.ObtainCertificate(domains, bundle, nil)
if len(failures) > 0 {
log.Error(failures)