Resolving the Error – Solution
To resolve cURL error 60 on a local development environment like XAMPP or WAMP, or even on a Windows server:
Download the latest ‘cacert.pem’ file from the official cURL website or directly from http://curl.haxx.se/ca/cacert.pem
Save this file to a directory on your server. For WAMP, it could be
“C:\wamp64\bin\php\cacert.pem”,,
and for XAMPP
“C:\xampp\php\extras\ssl\cacert.pem”.
Edit your php.ini file, which is the configuration file for PHP, to include the path to the “cacert.pem” file. Find the line that “contains ;curl.cainfo”, remove the semicolon to uncomment it, and set it to the path of your “cacert.pem” file, such as:
download folder
C:\xampp\php\php.ini
curl.cainfo="C:\xampp\php\extras\ssl\cacert.pem"
openssl.cafile="C:\xampp\php\extras\ssl\cacert.pem"
Another solution: update windows by going setting
Another solution
change php or xampp version try
8.2,8.1
After applying all solution wait for sometime one day or two day
Top comments (0)