Bug #16386 Updated: cURL with SSL : support for a private key "CURL_SSLKEY" ???
| From: | sander@php.net | Date: | Tue, 02 Apr 2002 16:32:29 +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-3839@lists.php.net to get a copy of this message | ||
ID: 16386
Updated by: sander@php.net
Reported By: cassar_e@libertysurf.fr
-Status: Open
+Status: Bogus
Bug Type: cURL related
Operating System: Linux
PHP Version: 4.1.2
New Comment:
Closing on user request.
Previous Comments:
------------------------------------------------------------------------
[2002-04-02 09:18:49] 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: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