grazzman Posted July 24, 2006 Share Posted July 24, 2006 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[code]<?php$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; ?>[/code] Link to comment https://forums.phpfreaks.com/topic/15541-curl-and-ssl/ Share on other sites More sharing options...
grazzman Posted July 24, 2006 Author Share Posted July 24, 2006 nevermind... itscurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 1); Link to comment https://forums.phpfreaks.com/topic/15541-curl-and-ssl/#findComment-63146 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.