x509: certificate signed by unknown authority
Above error is all about SSL/TLS handshake errors which is due to mismatch of root certificates, i have encountered this issue while running kubeadm command and later i found, issue exists with CURL and Docker Pull command too.
Thing to note : I'm using a PROXY server ( Zscaler ) , thus it's certificate must be imported within my linux base OS and thus into docker certificates too.
Curl Issue.
x509: certificate signed by unknown authority.
Fix :
Syntax Template
# cp zscalar_root.crt /etc/pki/ca-trust/source/anchors/ && update-ca-trust
Syntax Template
# cp zscalar_root.crt /etc/pki/ca-trust/source/anchors/ && update-ca-trust
Docker Pull Issue.
x509: certificate signed by unknown authority.
Fix :
Retrieve your own proxy certificate, mine is for zscaler hence using the below command and then refresh the trusts
Syntax Template
# cp zscalar_root.crt /etc/docker/certs.d/tls/ && update-ca-trust
Now restart docker to reflect the changes within docker.
Restart docker # systemctl restart docker
x509: certificate signed by unknown authority.
Fix :
Syntax Template
# cp zscalar_root.crt /etc/docker/certs.d/tls/ && update-ca-trust
Restart docker
# systemctl restart docker
No comments:
Post a Comment