diff --git a/acmev2/client.go b/acmev2/client.go index fc2777d0..55407303 100644 --- a/acmev2/client.go +++ b/acmev2/client.go @@ -348,8 +348,8 @@ func (c *Client) ObtainCertificate(domains []string, bundle bool, privKey crypto order, err := c.createOrderForIdentifiers(domains) if err != nil { identErrors := make(map[string]error) - for _, auth := range order.Identifiers { - identErrors[auth.Value] = err + for _, domain := range domains { + identErrors[domain] = err } return CertificateResource{}, identErrors }