How to configure additionalTrustedCA for multiple image registries in RHOCP 4?

Solution Verified - Updated -

Issue

  • How to configure additionalTrustedCA for multiple image registries in image.config.openshift.io/cluster custom resource?
  • How to update the existing registry configmap with an additional CA for a new registry?
  • Pulling container images from a new image registry failed with this error:

    tls: failed to verify certificate: x509: certificate signed by unknown authority
    

Environment

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