Docker Community Forums

Share and learn in the Docker community.

X509: certificate signed by unknown authority Ubuntu Server behind proxy


(Ppalaufico) #1

I’m running in a server with ubuntuserver 16 with docker installed.I’m working behind a corporate proxy, which has internet connection because I can log in in the docker hub.
When I execute sudo docker run hello-world the following error appears:

latest: Pulling from library/hello-world
ca4f61b1923c: Pulling fs layer
docker: error pulling image configuration: Get https://dseasb33srnrn.cloudfront.net/registry-v2/docker/registry/v2/blobs/sha256/f2/f2a91732366c0332ccd7afd2a5c4ff2b9af81f549370f7a19acd460f87686bc7/data?Expires=1523312327&Signature=NRKvCXmfbeNeq7bq6E5doFrBElhIs9B8Dne-fLv10DpRoNXfzK45TATY39ZbIb0H9ijE3WDjxbPO8hfw7tnAcGWnfZBlwoiGCUlUAOy7d5m8B6qTcksmWsrDU5YvIUoFYjEk5wB~t0sbZfChWFiLINQWTLuBv1nnEECSm5zH9qc_&Key-Pair-Id=APKAJECH5M7VWIS5YZ6Q: x509: certificate signed by unknown authority.

Solutions tried:
I tried to copy the ca-certificate.crt from /etc/ssl/certs/ to /usr/local/share/ca-certificates/ and restarting docker but the error appeared again.

Any idea why this happens?

Thank you in advance,