Bug #16386 Updated: cURL with SSL : support for a private key "CURL_SSLKEY" ???

From: Date: Tue, 02 Apr 2002 14:18:50 +0000
Subject: Bug #16386 Updated: cURL with SSL : support for a private key "CURL_SSLKEY" ???
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-3827@lists.php.net to get a copy of this message
ID: 16386 Updated by: cassar_e@libertysurf.fr Reported By: cassar_e@libertysurf.fr 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 09:17:58] cassar_e@libertysurf.fr 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). ------------------------------------------------------------------------ [2002-04-02 09:17:13] cassar_e@libertysurf.fr 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). ------------------------------------------------------------------------ [2002-04-02 05:27:26] cassar_e@libertysurf.fr 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

« previous php.bugs (#3827) next »