If you are getting a SSL error while using cURL on localhost, similar to
SSL certificate problem: unable to get local issuer certificate
We have solution for this. Go to: https://curl.haxx.se/ca/cacert.pem and save it in you www folder And add this line inphp.ini
curl.cainfo = "[C:/folder/cacert.pem" eg:
curl.cainfo = "C:/wamp/www/cacert.pem" Make sure you have saved file on the same location with same name -
cacert.pem