Skip to content
Discussion options

You must be logged in to vote

Let me put here the default behavior of step. The cli uses different ways to load its own root certificate, this is the list by priority:

  1. On JWT tokens, we add the claim "sha" with the fingerprint of the root certificate, if present, step will use an "insecure" connection to get the root from step-ca (/root/<fingerprint>), and after verifying the fingerprint, it will create a secure connection with that root.
  2. Flag --root
  3. Environment variable STEP_ROOT
  4. "root" property on $(step path)/defaults.json
  5. Certificate file at $(step path)/certs/root_ca.crt

Now to your use case, assuming you're running this:

step ssh certificate ${FQDN} /etc/ssh/ssh_host_ecdsa_key.pub --host --sign --principal ${F…

Replies: 7 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@maxx1e
Comment options

Answer selected by maraino
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #1016 on August 16, 2022 17:32.