From caa37422dd123b680cd8adb0d7907391a2975a1d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 22 Oct 2012 01:26:03 +0200 Subject: [PATCH] Fix: curl must ignore ssl validation --- htdocs/mailmanspip/class/mailmanspip.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/mailmanspip/class/mailmanspip.class.php b/htdocs/mailmanspip/class/mailmanspip.class.php index dff11b3149a..ee912d215c2 100644 --- a/htdocs/mailmanspip/class/mailmanspip.class.php +++ b/htdocs/mailmanspip/class/mailmanspip.class.php @@ -138,6 +138,7 @@ class MailmanSpip curl_setopt($ch, CURLOPT_FAILONERROR, true); @curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_TIMEOUT, 5); + curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); $result = curl_exec($ch); dol_syslog('result curl_exec='.$result);