ID: 16386 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: cURL related Operating System: Linux PHP Version: 4.1.2 New Comment:
Sorry i found the solution alone by testing more : cURL with PHP accepts certificate in CURLOPT_SSLCERT who's the concatenation of a certificate in X509 format (encodage PEM) and a RSA private key in PKCS#5 format (encodage PEM). Previous Comments: ------------------------------------------------------------------------ [2002-04-02 05:27:26] [EMAIL PROTECTED] In Perl or C API of cURL you can set the certificate you are using for HTTPS via CURL_SSLCERT (i don't know if the certificate should be X509, PKCS#7 or PKCS#12), the private key CURL_SSLKEY (i don't know if the key should be PKCS#5 or PKCS#8 format) and CURL_SSLKEYPASSWD (the password protecting the private key). But in PHP you can only set CURL_SSLCERT. So how can you make "Strong" SSL authentication in curl without specifying the private key corresponding to the public key in the certificate ? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16386&edit=1