Failed to pull image with failed to verify certificate error in OpenShift 4 when using a proxy

Solution Unverified - Updated -

Issue

  • Images fail to pull with the following error message shown in the events:

    Failed to pull image "registry.redhat.io/redhat/xxxxxx": rpc error: code = Unknown desc = pinging container registry registry.redhat.io: Get "https://registry.redhat.io/v2/": tls: failed to verify certificate: x509: certificate signed by unknown authority
    
  • The Proxy CA is configured in the proxy resource of the cluster, and a curl to the registry via the Proxy is working properly, but the images are not pulled with above message.

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • Proxy

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