forked from TrueCloudLab/lego
Document that ObtainSANCertificate will never return a partial certificate on error.
This commit is contained in:
parent
0c0521f177
commit
54e96f6fc5
1 changed files with 2 additions and 0 deletions
|
@ -232,6 +232,8 @@ func (c *Client) ObtainCertificates(domains []string, bundle bool) ([]Certificat
|
|||
// domains are added using the Subject Alternate Names extension.
|
||||
// If bundle is true, the []byte contains both the issuer certificate and
|
||||
// your issued certificate as a bundle.
|
||||
// This function will never return a partial certificate. If one domain in the list fails,
|
||||
// the while certificate will fail.
|
||||
func (c *Client) ObtainSANCertificate(domains []string, bundle bool) (CertificateResource, map[string]error) {
|
||||
if bundle {
|
||||
logf("[INFO] acme: Obtaining bundled SAN certificate for %v", strings.Join(domains, ", "))
|
||||
|
|
Loading…
Reference in a new issue