cURL and PHP
| From: | Joseph Watson | Date: | Fri, 22 Nov 2002 01:48:52 +0000 |
| Subject: | cURL and PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-125546@lists.php.net to get a copy of this message | ||
Hello,
I have been all over the documentation at both php's website and cURL's
website, and just can't seem to dig up information on how to use the
following:
curl_setopt
with the following options
CURLOPT_SSL_VERIFYPEER
CURLE_SSL_PEER_CERTIFICATE
CURLINFO_SSL_VERIFYRESULT
CURLE_SSL_CONNECT_ERROR
Can someone point me to a example, or maybe share a example with me? I want
to make HTTPS connections with a server, and varify the host with a locale
copy of the hosts public Certificate. I have figured out the
CURLOPT_SSL_VERIFYHOST option, but how do you check to see if it is signed by
a trusted CA?
Any suggestions?
--
Regards
Joseph Watson