Skip to content

step ssh config --roots returns x509: certificate signed by unknown authority #1865

Answered by tashian
marcheyer asked this question in Q&A
Discussion options

You must be logged in to vote

Looks like you've gotten pretty far along!

First thing I would check is the certificate validity on that endpoint.
Does the output of step certificate inspect https://ca.example.com --bundle give you a certificate bundle that chains back up to your root CA whose fingerprint is $CA_FINGERPRINT?
If you're using step-ca directly, it will match.
If you're using step-ca through a reverse proxy, it may not.
Since it's Kubernetes, I'm suspecting there's a proxy involved here.
If that's the case, see Proxying step-ca traffic for details on how to address the issue.

Replies: 2 comments

Comment options

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