Answers for "curl error #:ssl certificate problem"

PHP
0

php curl ssl certificate problem

curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, TRUE);
Posted by: Guest on September-14-2021
1

cURL error 60: SSL certificate problem:

windows & Wamp solution:

1. go to "https://curl.se/docs/caextract.html" and download "cacert.pem"
2. Put it in this directory "C:\wamp64\cacert.pem"
3. go to "C:\wamp64\bin\php\YOUR_PHP_VERSION\php.ini" and put those two lines:
		- curl.cainfo = "C:\wamp64\cacert.pem"
        - openssl.cafile="C:\wamp64\cacert.pem"
Posted by: Guest on February-26-2022

Code answers related to "curl error #:ssl certificate problem"

Browse Popular Code Answers by Language