hi,
i face a problem with curl. i have a certificate file (certificate.cer) and i use the follow code :
$ch = curl_init(); $cert = "certificate.cer";
curl_setopt($ch, CURLOPT_URL,$url); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); curl_setopt($ch, CURLOPT_TIMEOUT, 10); curl_setopt ($ch, CURLOPT_SSLCERT, $cert); curl_setopt ($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt ($ch, CURLOPT_SSLCERTPASSWD, "password"); curl_setopt ($ch, CURLOPT_HEADER, 0);
and always i receive this errro message:
"unable to set certificate file (wrong password?)".
any idea?
thanks tassos
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php