Error "x509: certificate signed by unknown authority" reported during oc login in Openshift Container Platform 3
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 (OCP) 3.X
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.