Skip to content

failed to verify certificate: x509: certificate is valid for "localhost", not localhost #1730

Closed Answered by hslatman
patsevanton asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@hslatman
Comment options

@patsevanton
Comment options

Answer selected by patsevanton
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