From 41eae3429199d4d85f8bd33285f9ab679e844adb Mon Sep 17 00:00:00 2001 From: dynamicnet Date: Thu, 24 May 2012 15:12:38 +0300 Subject: [PATCH] add CURLOPT_SSL_VERIFYPEER with curl_setopt for disabling Peer SSL verification --- library/Litmus/RESTful/Client.php | 1 + 1 file changed, 1 insertion(+) diff --git a/library/Litmus/RESTful/Client.php b/library/Litmus/RESTful/Client.php index 8c5eb98..a74095b 100644 --- a/library/Litmus/RESTful/Client.php +++ b/library/Litmus/RESTful/Client.php @@ -95,6 +95,7 @@ private function _initCurlSession($uri) curl_setopt($this->_curl_handle, CURLOPT_USERPWD, sprintf('%s:%s', $this->_api_username, $this->_api_password)); curl_setopt($this->_curl_handle, CURLOPT_RETURNTRANSFER, 1); + curl_setopt($this->_curl_handle, CURLOPT_SSL_VERIFYPEER, 0); } /**