Turn off ssl verification
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 8 Apr 2015 18:44:34 +0000 (14:44 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 8 Apr 2015 18:44:34 +0000 (14:44 -0400)
To work on ws6

Toolkit/Contacts/PassPort.php

index 06d0cd0..9a4b7e0 100755 (executable)
@@ -634,9 +634,9 @@ class Toolkit_Contacts_PassPort
         //    Returns response data instead of TRUE(1)
         curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
         //    Use HTTP POST to send form data
-            curl_setopt($ch, CURLOPT_POSTFIELDS, rtrim($fields, "& "));
+        curl_setopt($ch, CURLOPT_POSTFIELDS, rtrim($fields, "& "));
         //    Uncomment this line if you get no gateway response. ###
-        //    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
+        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
         //    Execute post and get results
         $resp = curl_exec($ch);
         curl_close($ch);