Deploying new application from private docker registry causes x509: certificate signed by unknown authority
Issue
-
I use docker registry.
-
When I run
oc create -f imagestream.jsonoroc new-app $DOCKERFILE_DIR —strategy=docker, I get following error.
Jul 22 23:35:02 master.example.com openshift-master[9953]: E0722 23:35:02.596324 9953 factory.go:51] error getting X-Docker-Token from openshift3/ruby-20-rhel7: Get https://foo.bar.registry.example.com:5000/v1/repositories/openshift3/ruby-20-rhel7/images: x509: certificate signed by unknown authority
- I passed
--insecure-registrytooc new-app, but it still get error.
Environment
- OpenShift Enterprise
- v3.0.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
