-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for extended SANs on certificate requests
This commit adds supports for adding extended SANs like the permanent identifier used in device attestation flows with CSRs. It was already supported on certificates but not on certificate requests. With this it will be possible to run: step certificate create --csr --template att.tpl \ --kms "yubikey:?pin-value=123456" --key "yubikey:slot-id=82" \ 123456789 att.csr Where att.tpl can be something like: { "subject": {{ toJson .Subject }}, "sans": [{ "type": "permanentIdentifier", "value": {{ toJson .Subject.CommonName }} }] }
- Loading branch information
Showing
5 changed files
with
198 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.