> -----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