Turn off the certifiicate validation for the SSL on cwsfregister

This commit is contained in:
james 2009-04-05 15:45:43 +00:00
parent eb795267d7
commit 518c53bd82

View File

@ -147,6 +147,7 @@ include "xml.inc.php";
curl_setopt ($ch, CURLOPT_POSTFIELDSIZE, 0);
curl_setopt ($ch, CURLOPT_TIMEOUT, 360);
curl_setopt ($ch, CURLOPT_SSLVERSION, 3);
curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, false);
$datastream = curl_exec ($ch); /// execute the curl session and return the output to a variable $datastream
$datastream = str_replace(" standalone=\"yes\"","",$datastream);
// echo "curl close <br />";