diff --git a/acme/client.go b/acme/client.go index 0fef85f3..8c7e644f 100644 --- a/acme/client.go +++ b/acme/client.go @@ -379,8 +379,8 @@ func (c *Client) RenewCertificate(cert CertificateResource, revokeOld bool, bund continue } domains = append(domains, sanDomain) - newCerts[0], failures = c.ObtainSANCertificate(domains, bundle) } + newCerts[0], failures = c.ObtainSANCertificate(domains, bundle) } else { domains = append(domains, x509Cert.Subject.CommonName) newCerts, failures = c.ObtainCertificates(domains, bundle)