Hello, we are trying to setup a private registry in our infrastructure.
Our main goal is to delegate the SSL handshake to our corporate Apache proxy (not a docker container), so that any client connecting to the registry uses the proxy to reach the Docker registry, which has a public DNS domain.
We have configured the SSL on the Apache for the Registry’s DNS domain, but any time we connect to it, we cannot connect. We’ve tried with self-signed certs, created with openSSL.
As we didn’t find a good solution, we desperately followed Docker’s official guide here: https://docs.docker.com/registry/recipes/apache, but we still have to use our corporate Apache proxy, without the SSL (our guessing) on that part of the infrastructure, just on the dockerized container provided by Docker guys.
I am having the same issue(or same problem).
I have the private registry working, configured with nginx (both registry and nginx are started in container). From our local network anyone can pull/push images: docker pull 10.185.5.106:5043/zookeeper
Now we need to allow the employees from a different country to pull the images.
For that we have to use the company Appache proxy, which is tatata.thecompany.com and the url that I can use:
is tata,thecompany.com/docker_repo
— put the ca.crt in both folders /etc/docker/certs.d/tatata.company.com/ and /etc/docker/certs.d/tatata.company.com/docker_repo
I tried with the ca.crt created by me, also cat the syste, crt files in the ca.crt and also with ca.crt file from the apache -proxy server (I copied the content from it)
— tatata.company.com is the name of our apache proxy server where we externalized other applications
(I am not allowed to publish the real name)