Hi,
I am trying to make a request to a server using PHP/CURL trought a XML.
The owner of the server has sent me an SSL certificate: "CAcert.cer", but I got no password or, anything else for that matter, related to the SSL file.
All my CURL lines with SSL references are:
The answer returned is : "unable to set private key file".PHP Code:curl_setopt($ch, CURLOPT_SSLCERT, '/home/httpd/htdocs/test/CAcert.cer');
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
I need help on this....
Thanks, Mircea



Bookmarks