I  look for  the reason and find that , CURL serial function work fine with 4.0.5 ,
but when i update to 4.0.6,I can not see any output without error,
so i  suggest you try to use php 4.0.5.


----- Original Message ----- 
From: "Hugo Alexandre Almeida Soares Dias" <[EMAIL PROTECTED]>
To: "PHP-WIN" <[EMAIL PROTECTED]>
Sent: Monday, October 22, 2001 10:32 PM
Subject: [PHP-WIN] trouble while connecting with HTTPS server with certificate. Using 
cURL


> 
> 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 [EMAIL PROTECTED] in the reply.
> 
> 
> 
> Hugo Alexandre Dias
> Eng. Sistemas Informática
> [EMAIL PROTECTED]
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 


Reply via email to