My docker get error "x509 certificate signed by unknown authority" and then i find that my ubuntu contianer missing file ca-certificates.crt
on /etc/ssl/certs/
or /usr/local/share/certificates/
. The solution of this error is add ca-certificates.crt to the */usr/local/share/certificates/** folder and run update-ca-certificates
command. But my problem is I dont know where to get that .crt file.
Ubuntu – How to get the ca-certificates.crt
certificatesdocker
Best Answer
To get certificates, run similar to the next command:
Also, you could use these instructions: