mirror of
https://github.com/go-acme/lego.git
synced 2025-01-26 15:02:49 +02:00
Move call to ObtainSANCertificate
This commit is contained in:
parent
5930ea52f0
commit
136cc73ff8
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user