Hello for all.
After upgrade to Magento v1.9.2.3 i can't install extension via Magento Connect. I got a message "Unknown cipher in list: TLSv1" . I tried to replace the code below in magento/downloader/lib/Mage/HTTP/Client/curl.php in line 377:
$this->curlOption(CURLOPT_SSL_CIPHER_LIST, 'TLSv1');
to
if(isset($var)){$this->curlOption(CURLOPT_SSL_CIPHER_LIST, 'TLSv1');}
But the message "Unknown cipher in list: TLSv1" in Magento Connect, keeps showing when i try to install any extension. How can i solve this?
Thanks lot
Solved! Go to Solution.
Thanks for answered Rob, i replaced this code:
$this->curlOption(CURLOPT_SSL_CIPHER_LIST, 'TLSv1');
to this:
$this->curlOption(CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1);
and now it's working as well . Actually, my Magento store 1.9.2.3 is running with that settings below:
CentOS 6.7
Curl 7.12.1
PHP 5.2.17
Thanks for the help
This is a bug in Magento as it relates to centOS servers with older legacy curl programs. The best fix is described at:
One line change to a core file (unfortunately editing the core file is the best fix currently).
Thanks for answered Rob, i replaced this code:
$this->curlOption(CURLOPT_SSL_CIPHER_LIST, 'TLSv1');
to this:
$this->curlOption(CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1);
and now it's working as well . Actually, my Magento store 1.9.2.3 is running with that settings below:
CentOS 6.7
Curl 7.12.1
PHP 5.2.17
Thanks for the help