I am facing the same issue as mentioned in ErrImagePull: x509: certificate signed by unknown authority.
I copied the ca.crt
to /etc/docker/certs.d/my.harbor.com/
along with my.harbor.cert
and my.harbor.com.key
, and I also copied the ca.crt
to /usr/local/share/ca-certificates/
and run command update-ca-certificates to update.
openssl s_client -connect my.harbor.com:443 -showcerts </dev/null
Output:
:140125490299328:error:2008F002:BIO routines:BIO_lookup_ex:system lib:../crypto/bio/b_addr.c:704:Name or service not known connect:errno=2
I am struggling from couple of days, any help will be appreciated.