If you try to run curl and receive the following error
curl: (77) error setting certificate verify locations: CAfile: /etc/ssl/certs/ca-certificates.crt CApath: none
Try adding the path to your crt into ~/.curlrc
echo 'cacert=/etc/ssl/certs/ca-certificates.crt' > ~/.curlrc
11 thoughts on “curl: (77) error setting certificate verify locations”
Awesome! Thanks so much :-)
Thanks very much bud :-)
Thank you…I spent hours working on this problem and this solved it.
Holy crap, thank you so much
Very helpful thanks
in which file we have to add this echo ‘cacert=/etc/ssl/certs/ca-certificates.crt’ > ~/.curlrc
Type it onto your shell prompt and press enter
Very helpful thank you.
Pingback: [Curl] How do I deal with certificates using cURL while trying to access an HTTPS url? - Pixorix