ソースを参照

fix csr domain validation in finalize

beltram 3 年 前
親
コミット
5ba0ab3e44
1 ファイル変更、1 行追加、1 行削除
  1. 1 1
      acme/order.go

+ 1 - 1
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++