//Tell cURL where our certificate bundle is located. $certificate = "C:wampcacert.pem"; curl_setopt($ch, CURLOPT_CAINFO, $certificate); curl_setopt($ch, CURLOPT_CAPATH, $certificate);