Image Registry certificate expired in RHOCP 4

Solution Verified - Updated -

Issue

  • Image-registry TLS certificate expired
  • Image Registry is not accessible and giving below error :
creating push check transport for default-route-openshift-image-registry.apps.dev.ocp.xxx:443 failed: Get "https://default-route-openshift-image-registry.apps.dev.ocp.xxx:443/v2/": x509: certificate has expired or is not yet valid: current time 2022-11-25T20:06:21Z is after 2022-11-25T19:13:59Z

Environment

  • Red Hat OpenShift Container Platform 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