#345: bundle intermediate certificates

fixes warnings and gives generated certs an A rating on ssl labs
This commit is contained in:
Marcus Stong 2016-05-02 20:01:10 -04:00
parent 4a1fa03b2d
commit 378509cef4

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)