I'm trying to All4coding Offline Maintenance Page using Magento Connect Manager ver. and I'm getting this error: Unknown cipher in list: TLSv1

I found some solutions on here already, however it looks like either my Magento is broken, or they removed the line of code that everyone is talking about..

$this->curlOption(CURLOPT_SSL_CIPHER_LIST, 'TLSv1');

I'm using Hostgator Shared hosting to host the website, if that makes a difference. Does anyone have a solution for this, or what should I try to do?


Go to downloader/lib/Mage/HTTP/Client/Curl.php and change:

$this->curlOption(CURLOPT_SSL_CIPHER_LIST, 'TLSv1');


  • 2
    $this->curlOption(CURLOPT_SSL_CIPHER_LIST, 'TLSv1'); isn't in the file May 29 '16 at 21:54
  • Yes, it has been remove on the Sorry, but I've not a solution. I am looking, too
    – realtebo
    Jun 18 '19 at 10:19
  • The latest solution is upgrading to Magento 2.
    – MartyS
    Jun 19 '19 at 0:32

Not the answer you're looking for? Browse other questions tagged or ask your own question.