To allow snarf to query SSL websites which are not
recognized by the local server's CA bundle, the "curl
-k" option needs to be set.
mod: insert the curl_setopt line below:
$ch = curl_init( $url );
//allow curl to query sites with unknown CA certificates
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
// use output buffering instead of returntransfer
Log in to post a comment.