Error "x509: certificate signed by unknown authority" reported during oc login in Openshift Container Platform 3

Solution Verified - Updated -

Issue

  • When doing oc login using the CNAME results in certificate errors.
# oc login https://<CNAME>:8443 --loglevel=8

round_trippers.go:421] Request Headers:
round_trippers.go:424]     X-Csrf-Token: 1
round_trippers.go:439] Response Status:  in 17 milliseconds
round_trippers.go:442] Response Headers:
helpers.go:119] error: x509: certificate signed by unknown authority

Details:
Using a CNAME to openshift_master_cluster_hostname which points to a Netscaler instance that has 3 masters behind.

Environment

  • Red Hat Openshift Container Platform 3.X

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.