OpenShift 4 upgrade failed while pulling the image from mirror registry with error x509: certificate signed by unknown authority

Solution Unverified - Updated -

Issue

  • While pulling the image from mirror getting the below error:

    Mirrors also failed: [registry.example.com:5000/ocp4/openshift4@sha256:c8ace6f0bcb5dfb174626b7d189bc9f9f7ee51394a92d209b4b01896f8bcf66e: error pinging docker registry registry.example.com:5000: Get \\\"https://registry.example.com:5000/v2/\\\": x509: certificate signed by unknown authority (possibly because of \\\"crypto/rsa: verification error\\\" while trying to verify candidate authority certificate \\\"registry.example.com\\\")]):
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • Disconnected cluster
  • Mirror registry

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