فهرست منبع

(finalize) have both display name & domain in SANs

beltram 3 سال پیش
والد
کامیت
c41a99ad75
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      acme/order.go

+ 2 - 0
acme/order.go

@@ -354,6 +354,8 @@ 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
+			indexDNS++
 			orderNames[indexDNS] = wireID.Domain
 			indexDNS++
 			orderURIs[indexURI] = wireID.ClientID