Docker Community Forums

Share and learn in the Docker community.

Docker4Mac reject Let's encrypt certificate (x509: certificate signed by unknown authority)


(Julien Maitrehenry) #1

I just create a new docker registry and I use Let’s Encrypt for generate a certificate.
I have no problem if I use docker on Linux but when I try to use it with Docker4Mac, I have this error:

docker push jenkins_new.xxx.com:5000/ubuntu
The push refers to a repository [jenkins_new.xxx.com:5000/ubuntu]
Get https://jenkins_new.xxx.com:5000/v1/_ping: x509: certificate signed by unknown authority

On Amazon Linux AMI:

[root@ip-172-31-32-136 ~]# docker push jenkins_new.xxx.com:5000/ubuntu
The push refers to a repository [jenkins_new.xxx.com:5000/ubuntu] (len: 1)
17b6a9e179d7: Pushed
[...]
```

(Jeffsui) #2

I’m having a similar issue - its because we SSL Inspection with a self signed cert


(Michael Friis) #3

We spent some time looking into this and the cert-store that ships with Docker for Mac / Windows is the same as for Debian.

If possible, could you check that the cert-chain that you’re using for the registry is complete, either using an SSL-checker or openssl?