Make OpenShift certificate trusted by "oc login" in OpenShift 3
Issue
If the certificate on the Master is not signed by an external Certificate Authority, the following warning appears on login:
$ oc login https://master.demo.lan:8443
The server uses a certificate signed by an unknown authority.
You can bypass the certificate check, but any data you send to the server could be intercepted by others.
Use insecure connections? (y/n):
It possible to make the certificate trusted by oc tools?
Environment
- OpenShift Container Platform (OCP) 3.x
- Self-signed certificate on Master API
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.