How to configure custom certificate for docker registry

Solution Verified - Updated -

Issue

  • x509: certificate signed by unknown authority error comes when the docker registry route is accessed outside the cluster.
  • How to use a re-encrypt route and custom TLS certificate to expose an existing integrated Docker registry.

Environment

  • Red Hat OpenShift Container Platform (OCP)
    • 3.x

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