Where store root.key in docker-compose/Get root.key same root.crt #1737
-
Hello! Thanks for smallstep!
Get its root certificate from the Smallstep CA: step ca root root_ca.crt Creating a signature key and a certificate request. Enter the password specified in DOCKER_STEPCA_INIT_PASSWORD_FILE step certificate create "Intermediate CA Name" intermediate.csr intermediate_ca_key --csr Signing the request for an intermediate certificate. step certificate sign --profile intermediate-ca intermediate.csr root_ca.crt root.key Where store root.key in docker-compose ? |
Beta Was this translation helpful? Give feedback.
Answered by
patsevanton
Feb 24, 2024
Replies: 1 comment
-
Get docker id docker_id=$(docker ps -a | grep "smallstep/step-ca" | awk '{print $1}') Copy root ca key docker cp $docker_id:/home/step/secrets/root_ca_key . |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
patsevanton
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Get docker id
docker_id=$(docker ps -a | grep "smallstep/step-ca" | awk '{print $1}')
Copy root ca key