Skip to content

Create CA cert with custom CN, OU, O, L, S, C #1735

Closed Answered by hslatman
patsevanton asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @patsevanton,

When you do step ca init, some sane defaults are picked. To keep things simple, we don't provide all options, and thus use some defaults for the contents of the root and intermediate certificate. It's possible to create your own root and intermediate certificates using step certificate create --template /path/to/template. You can use the template to customize the contents. You'll need to take care of the proper settings in the template, so you'll likely want them to be similar to what's in https://github.com/smallstep/crypto/blob/master/x509util/templates.go#L193-L214. Then after creating the root and intermediate (keys and certs) in this way, you can use the instruction…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by patsevanton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants