Re: trouble while connecting with HTTPS server with certificate. Using cURL
| From: | Huang Yuzhen | Date: | Wed, 24 Oct 2001 03:30:32 +0000 |
| Subject: | Re: trouble while connecting with HTTPS server with certificate. Using cURL | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-9981@lists.php.net to get a copy of this message | ||
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" <anikin@ip.pt>
To: "PHP-WIN" <php-windows@lists.php.net>
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 hugo@mni.pt in the reply.
>
>
>
> Hugo Alexandre Dias
> Eng. Sistemas Informática
> anikin@ip.pt
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>