Skip to content

About private key generation #1437

Answered by tashian
rajesh1084 asked this question in General
Discussion options

You must be logged in to vote

Hi! Thanks for your question.

The step certificate create command is only for local certificate or CSR creation. It won't talk to the CA.

I'm going to assume you meant step ca certificate though.
For this command, the private key is generated locally, and a CSR and token are sent to the CA for signing.

You can also specify your own private key, and use the step ca sign command, passing the CSR directly in.
For example:

step crypto keypair foo.pub foo.key --kty EC
step certificate create --csr --key key.key foo foo.csr
step ca sign foo.csr foo.crt

Replies: 1 comment

Comment options

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