failed to verify certificate: x509: certificate is valid for "localhost", not localhost #1730
-
Hello! Thanks for smallstep!
Find Root fingerprint (CA_FINGERPRINT)
Generating a key and certificate for the server and setting up a TLS connection:
Signing the certificate on our Smallstep CA:
Get error:
Where did I go wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Can you try it with |
Beta Was this translation helpful? Give feedback.
Can you try it with
- DOCKER_STEPCA_INIT_DNS_NAMES=localhost
, so without the quotes? It sounds as if the CA has the"
in its certificate. That in itself would be a bit surprising and might be a bug to fix. You might need to clean/remove the volume you're using (basically starting over), because the CA won't initialize itself (again) if there's already a configuration available.