forked from TrueCloudLab/lego
Move call to ObtainSANCertificate
This commit is contained in:
parent
5930ea52f0
commit
136cc73ff8
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue