Skip to content

Commit

Permalink
Fix uri_sans param being ignored when use_csr_values=false (#6505)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdgreenfield authored and jefferai committed Apr 1, 2019
1 parent 1358c1a commit 6b33746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/logical/pki/cert_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -1416,7 +1416,7 @@ func signCertificate(data *dataBundle) (*certutil.ParsedCertBundle, error) {
certTemplate.DNSNames = data.params.DNSNames
certTemplate.EmailAddresses = data.params.EmailAddresses
certTemplate.IPAddresses = data.params.IPAddresses
certTemplate.URIs = data.csr.URIs
certTemplate.URIs = data.params.URIs
}

if err := handleOtherSANs(certTemplate, data.params.OtherSANs); err != nil {
Expand Down

0 comments on commit 6b33746

Please # to comment.