Answers for "curlpp ssl certificate problem: unable to get local issuer certificate"

0

cURL error 60: SSL certificate problem: unable to get local issuer certificate

This is just what works for me and I am writing just to remind me what I have
done when I will forget what I have done.

If it doesn't work I am sure you're going to find the solution

windows + Xampp solution:

1. go to "https://curl.se/docs/caextract.html" and download "cacert.pem"
2. Put it in this directory "C:\xampp\php\extras\ssl\cacert.pem"
3. go to "C:\PHP\php.ini" and put those two lines:
		- curl.cainfo = "C:\xampp\php\extras\ssl\cacert.pem"
        - openssl.cafile="C:\xampp\php\extras\ssl\cacert.pem"
Posted by: Guest on December-13-2021
0

SSL certificate problem: unable to get local issuer certificate

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
Posted by: Guest on January-21-2021

Code answers related to "curlpp ssl certificate problem: unable to get local issuer certificate"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language