x509 error is prompted when using the openshift-image-registry default route to create a pod

Solution Verified - Updated -

Issue

  • x509 error is prompted when using the openshift-image-registry default route to create a pod.
$ oc get ev
28s         Warning   Failed              pod/my-deployment-b7f5d4c86-t7pv2    Failed to pull image "default-route-openshift-image-registry.apps.ocp4.example.com/hello-world/hello-world-nginx:v1.0": rpc error: code = Unknown desc = pinging container registry default-route-openshift-image-registry.apps.ocp4.example.com: Get "https://default-route-openshift-image-registry.apps.ocp4.example.com/v2/": x509: certificate signed by unknown authority

Environment

  • OpenShift Container Platform 4.10+

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