How to fix cURL error 60: SSL certificate problem
This error occurs because the curl verifies and makes a secure connection request using self-signed certificate. When it does not find the valid certificate, it throws an error.
To fix this error, follow the steps below:
- Open http://curl.haxx.se/ca/cacert.pem
- Copy the entire page and save it as a “cacert.pem”
- Open your php.ini file and insert or update the following line: curl.cainfo = “[pathtofile]cacert.pem”