trouble while connecting with HTTPS server with certificate. Using cURL
| From: | Hugo Alexandre Almeida Soares Dias | Date: | Mon, 22 Oct 2001 14:32:47 +0000 |
| Subject: | trouble while connecting with HTTPS server with certificate. Using cURL | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-9957@lists.php.net to get a copy of this message | ||
Hi,
I need to run a script in a https server.
I'm using cURL but it returns me: Your connection is using a weak random
seed! * Closing live connection (#0)
Here is my code:
$ch=curl_init();
curl_setopt($ch,CURLOPT_VERBOSE,1);
curl_setopt($ch,CURLOPT_URL,$url);
curl_setopt($ch,CURLOPT_POST,1);
curl_setopt($ch,CURLOPT_POSTFIELDS,$params);
curl_setopt($ch,CURLOPT_SSLCERT,"multicert.p12");
curl_setopt($ch,CURLOPT_SSLCERTPASSWD,"3I3I37RP52G1L15D8T8S");
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
$data = curl_exec($ch);
curl_close($ch);
Can anyone help me with this?
Thanks
Anikin
P.S. Please add hugo@mni.pt in the reply.
Hugo Alexandre Dias
Eng. Sistemas Informática
anikin@ip.pt