OC Commands failed with error:Unable to connect to the server: x509: certificate signed by unknown authority

Solution Verified - Updated -

Issue

  • Unable to see the projects, nodes, services when using oc command.
    Getting same error in oc adm diagnostics.

Environment

  • OpenShift Container Platform 3.9

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.