RE: php cURL with SSL problem ??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: LKSunny [mailto:ad@xxxxxxxx]
> Sent: Tuesday, November 25, 2008 2:32 PM
> To: php-general@xxxxxxxxxxxxx
> Subject:  php cURL with SSL problem ??
> 
> Hello,
> 
> i want get https data with cURL, however just can via set
> curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
> 
> by the moment, i need turn curl_setopt($ch, CURLOPT_SSL_VERIFYPEER,
> true);
> i got some idea is "ca certificates", however how can i do it ?
> 
> this is crt file ? can not make from openssl ? if can make from
> openssl, any
> sample command ?
> and how to use ?
> 
> i am using Windows (WIN32)
> apache2.2+php5

I'm not sure I entirely understand your question... but here goes:

Yes, you can make your own CRT/KEY/CER files using OpenSSL.
http://www.freebsd.org/doc/en/books/handbook/openssl.html has some
instructions.

Hope this helps,


// Todd

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux