disable ssl verification

This commit is contained in:
gnieark 2016-06-06 13:13:07 +02:00
parent 3d26cba5bd
commit 22ecf1f4c8

View File

@ -42,7 +42,7 @@ function get_IA_Response($iaUrl,$postParams){
$ch = curl_init($iaUrl);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data_string);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(