make OpenShift certificate trusted by "oc login"
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 3
- Self-signed certificate on Master API
- oc client running Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
