C-NET :: PROJECTS

cat curl-ssl-fails-even-with-ca-certificates-installed.md

curl SSL fails even with ca-certificates installed

Posted
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html
text

So curl fails to access sites over https, even if ca-certificates is installed in your Docker container? You need to force a certificate rehash. Why this is not done by default escapes me.

/usr/bin/c_rehash
bash

curl should be happy now. Enjoy!

Comments