Recovering from expired openshift-ingress certificates in RHOCP 4

Solution Verified - Updated -

Issue

  • The login to cluster fails with the below error:
        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 Container Platform (RHOCP) 4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content