miraclemaker
Programmer
I have an SSL certificate installed on my website, I have cURL installed on the webserver with OpenSSL, now if I want to POST data securely to a third party website (to a https: address) how on earth do I get cURL to use my SSL certificate and POST encrypted data?
I've found the following commands for use with cURL:
where do I get this PEM formatted certificate file from - and what's this about a password? If anyone could help clear this up for me it would be greatly appreciated.
Thank you very much.
I've found the following commands for use with cURL:
Code:
curl_setopt ($ch, CURLOPT_SSLCERT, "privkey.pem");//Pass a string containing the filename of PEM formatted certificate
curl_setopt ($ch, CURLOPT_SSLCERTPASSWD, "pass");//Pass a string containing the password required to use the CURLOPT_SSLCERT certificate.
where do I get this PEM formatted certificate file from - and what's this about a password? If anyone could help clear this up for me it would be greatly appreciated.
Thank you very much.