2
votes

I am getting an error when I am trying to pull docker image. We have set up the proxy, and in our organization we have explicit proxy, so to access external server we cannot do without setting it.

[root@DX2821 city]# docker pull hellow-world

Using default tag: latest

Error response from daemon:

Get https://registry-1.docker.io/v2/: x509: certificate signed by unknown authority

1

1 Answers

2
votes

I had exactly the same problem in my company.

We have also a proxy. For monitoring our https connection to avoid malwares, our proxy creates a certificate on the fly for the secured connection between a station and the proxy. Then another secured connection is done between the proxy and the website. The message indicates that the certificate produced by the proxy was signed by an unknown authority: the "fake authority" which generates the certificates.

For solving the problem, I had to install the root certificate of this "fake authority" in /usr/share/ca-certificates (for a linux station) and then:

> update-ca-certificates