diff --git a/acme/client.go b/acme/client.go index d36ae1f8..e06917a0 100644 --- a/acme/client.go +++ b/acme/client.go @@ -244,7 +244,7 @@ func (c *Client) ObtainSANCertificate(domains []string, bundle bool) (Certificat errs := c.solveChallenges(challenges) // If any challenge fails - return. Do not generate partial SAN certificates. if len(errs) > 0 { - return CertificateResource{}, failures + return CertificateResource{}, errs } logf("[INFO] acme: Validations succeeded; requesting certificates")