Let’s try to know what does it means. cURL error code 60 defines
CURLE_PEER_FAILED_VERIFICATION. According to haxx.se,
The remote server’s SSL certificate or SSH md5 fingerprint was deemed not OK. This error code has been unified with CURLE_SSL_CACERT since 7.62.0. Its previous value was 51.
Solution of The Error
Let’s follow these simple steps:
- Download this bundle of root certificates: https://curl.haxx.se/ca/cacert.pem
- Put in any location of your server.
php.iniand add this line:
curl.cainfo = "[the_location]\cacert.pem"
- Restart your webserver.
- cURL error 60: Peer’s Certificate issuer is not recognized
- SSL: CERTIFICATE_VERIFY_FAILED with Let’s Encrypt
You're welcome to suggest any article to write!