diff --git a/acme/order.go b/acme/order.go index 93765b83..a8b7a2ad 100644 --- a/acme/order.go +++ b/acme/order.go @@ -354,7 +354,7 @@ func (o *Order) sans(csr *x509.CertificateRequest) ([]x509util.SubjectAlternativ if err != nil { return sans, NewErrorISE("unsupported identifier value in order: %s", n.Value) } - orderNames[indexDNS] = wireID.Name + orderNames[indexDNS] = wireID.Domain indexDNS++ orderURIs[indexURI] = wireID.ClientID indexURI++