php cURL with SSL problem ??
| From: | LKSunny | Date: | Tue, 25 Nov 2008 20:32:15 +0000 |
| Subject: | php cURL with SSL problem ?? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-283816@lists.php.net to get a copy of this message | ||
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
Thank You Very Much.