Import image from internal registry failed with x509: certificate signed by unknown authority in OpenShift 3.10 3.11
Issue
- Importing internal registry image into another ImageStream failed with
x509: certificate signed by unknown authority
$ oc import-image test:latest --from=docker-registry.default.svc:5000/devproject/test:v2
! error: Import failed (InternalError): Internal error occurred: Get https://docker-registry.default.svc:5000/v2/: x509: certificate signed by unknown authority
Environment
- Red Hat OpenShift Container Platform
- 3.10
- 3.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.