How to use kubectl and a custom X509 certificate to log into a remote OpenShift cluster
Issue
- Log into an OpenShift cluster from clients that can only use kubectl.
- Generate a
kubeconfig
file for remote OpenShift cluster authentication through a custom X509 certificate. - Authentication should use a certificate, not a token.
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.