How to add custom cert for corporate registry?

Solution In Progress - Updated -

Issue

In the company, there is a container registry and the url is something like " abc.com:5001". Moreover, it uses https protocol.

According to this doc, additionalTrustedCA is added but it failed to pull image from the registry.

Failed to pull image “abc.com:5001/mrsa-api/rhel-luna:latest”: rpc error: code = Unknown desc = pinging docker registry returned: Get https://abc.com:5001/v2/: x509: certificate signed by unknown authority

Environment

OpenShift Container Platform
- 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In