Renew the expired custom certificates for the web console

Solution Verified - Updated -

Issue

  • When any oc command is executed, it returns the following error.
$ oc login -us****
The server is using an invalid certificate: x509: certificate has expired or is not yet valid
You can bypass the certificate check, but any data you send to the server could be intercepted by others.

Environment

  • Red Hat OpenShift Container Platform (OCP)
    • 3.5.x
    • 3.11.x

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