Recovering from expired Openshift-ingress certificates (OCP4.x)
Issue
-
Login to cluster or OCP cli fails
x509: certificate has expired or is not yet valid: current time 2022-01-10T19:11:09Z is after 2022-01-09T15:49:17Z E0110 ... 1 auth.go:235] error contacting auth provider request to OAuth issuer endpoint https://oauth-openshift.apps.my-cluster.com/oauth/token failed: Head "https://oauth-openshift.apps.my-cluster.com":
Environment
- Red Hat OpenShift Cluster Platform 4 (OCP)
- During login to CLI or console
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.