Jump to content


This topic is now archived and is closed to further replies.


Curl and SSL

Recommended Posts

Anyone know how to make Curl ignore a Certificate Miss match.... Example, my test site, grazzman.com has a securesites.net ssl certificate on it, so it will come up as a miss match. Any ideas would help.  Thanks

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL,"http://wizards.orem.verio.net/database/webface/index.cgi");
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch ,CURLOPT_SSL_VERIFYPEER, 1);
$result=curl_exec ($ch);
curl_close ($ch);
<?php echo $result; ?>


Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.