Skip to content

"step ca" in docker doesn't trust itself #508

Answered by maraino
kiler129 asked this question in Q&A
Discussion options

You must be logged in to vote

On your guest host, you need to have the actual root ca in $STEPPATH/certs/root_ca.crt, by default it would be ~/.step/certs/root_ca.crt.

If you replaced the root certificate you will need to bootstrap again your environment, to do this you need to first get the fingerprint of the new root_ca.crt, you can do this with step certificate fingerprint root_ca.crt

Then to re-bootstrap your guest host you just do:

step ca bootstrap --ca-url https://ca-url:9000 --fingerprint xyz...

At this moment step will download the root from https://ca-url:9000/1.0/root/xyz... and validate the fingerprint with the one you provided. This is how you trust the new generated CA.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tashian
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