Created
October 17, 2016 08:05
-
-
Save balloz/73d183722f2aaf7c219dbfb9a1704486 to your computer and use it in GitHub Desktop.
Fix Magento Connect SSL version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/downloader/lib/Mage/HTTP/Client/Curl.php b/downloader/lib/Mage/HTTP/Client/Curl.php | |
index a777beb..1a39b19 100644 | |
--- a/downloader/lib/Mage/HTTP/Client/Curl.php | |
+++ b/downloader/lib/Mage/HTTP/Client/Curl.php | |
@@ -380,7 +380,7 @@ implements Mage_HTTP_IClient | |
* @link http://php.net/manual/ru/function.curl-setopt.php | |
*/ | |
- $this->curlOption(CURLOPT_SSLVERSION, 1); | |
+ $this->curlOption(CURLOPT_SSLVERSION, 5); | |
$this->getCurlMethodSettings($method, $params, $isAuthorizationRequired); | |
if(count($this->_headers)) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment