1. Open this link : Click Here.
2. Save the file on your coputer with cacert.pem name.
2. use
curl_setopt($ch, CURLOPT_CAINFO, dirname(__FILE__) . ‘/cacert.pem’);
OR
curl_setopt($ch, CURLOPT_CAINFO, '/path/to/cacert.pem');
1. Open this link : Click Here.
2. Save the file on your coputer with cacert.pem name.
2. use
curl_setopt($ch, CURLOPT_CAINFO, dirname(__FILE__) . ‘/cacert.pem’);
OR
curl_setopt($ch, CURLOPT_CAINFO, '/path/to/cacert.pem');