Merge pull request #349 from stongo/acme-bundle
#345: bundle intermediate certificates
This commit is contained in:
commit
11a6331185
1 changed files with 1 additions and 1 deletions
|
@ -406,7 +406,7 @@ func (a *ACME) saveAccount(Account *Account) error {
|
||||||
|
|
||||||
func (a *ACME) getDomainsCertificates(client *acme.Client, domains []string) (*Certificate, error) {
|
func (a *ACME) getDomainsCertificates(client *acme.Client, domains []string) (*Certificate, error) {
|
||||||
log.Debugf("Loading ACME certificates %s...", domains)
|
log.Debugf("Loading ACME certificates %s...", domains)
|
||||||
bundle := false
|
bundle := true
|
||||||
certificate, failures := client.ObtainCertificate(domains, bundle, nil)
|
certificate, failures := client.ObtainCertificate(domains, bundle, nil)
|
||||||
if len(failures) > 0 {
|
if len(failures) > 0 {
|
||||||
log.Error(failures)
|
log.Error(failures)
|
||||||
|
|
Loading…
Reference in a new issue