Skip to content

step ssh config x509: certificate signed by unknown authority #984

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

You must be logged in to vote

Hi @praveenraghav01,

Are you using L4 or L7 load balancing on your application load balancer? A likely cause for the error you're seeing is that the load balancer is using a certificate not signed by your step-ca root CA. The step CLI verifies certificate chains using the root CA cert stored in /root/.step/certs/root_ca.crt, which it fails to do now. The bootstrap command works, because it intentionally connects using a non-TLS HTTP connection.

If you need load balancing, we generally advise to use L4 load balancing, so that TLS is terminated by step-ca and not by the load balancer. Some more information about that is available here: https://smallstep.com/docs/step-ca/certificate-authorit…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@praveenraghav01
Comment options

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