Skip to content

Commit

Permalink
Respect custom x509 ext in selfsign
Browse files Browse the repository at this point in the history
- No longer ignore specified x509 extensions in the CSR
  when generating a self-signed certificate.
  • Loading branch information
sthussey committed Apr 7, 2023
1 parent b4d0d87 commit f7af124
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions selfsign/selfsign.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ func parseCertificateRequest(priv crypto.Signer, csrBytes []byte) (template *x50
EmailAddresses: csr.EmailAddresses,
IPAddresses: csr.IPAddresses,
URIs: csr.URIs,
ExtraExtensions: csr.Extensions,
}

return
Expand Down

0 comments on commit f7af124

Please sign in to comment.