X509: certificate signed by unknown authority

Hi Team, Am trying to connect to an On-Prem orchestrator from my golang code. The Code runs on Openshift, and when it hit the URL from Openshift - it gives me this error of - x509: certificate signed by unknown authority.
Any idea of how to resolve it ?

Hi,

This error seems a certificate of the orchestrator doesn’t exist on your certificate trust chain for https. So probably you need to have your golang identify some root (or intermediate) certificacte as trust anchor. Unfortunately, as I’m not familiar with golang, can you check the way for it in the internet?

Regards,

Hi @Yoichi , Thanks for the response. Yes we obtained the ca cert from the orchestrator server and then derived the cert and key file out of it and then created a TLS config on http client and it was able to connect.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.