magento 1.9.3 Unknown cipher in list: TLSv1 even can't find keyword'TLSv1' [duplicate]

magento.stackexchange https://magento.stackexchange.com/questions/174391

  •  08-10-2020
  •  | 
  •  

Question

I find answer in

Magento 1.9.2 Unknown cipher in list: TLSv1

But i can't find code like $this->curlOption(CURLOPT_SSL_CIPHER_LIST, 'TLSv1');in my Curl.php

Couldn't even find the keyword 'TLSv1'.

What should I do?

Was it helpful?

Solution

This line was removed in Magento 1.9.3

Please check downloader\lib\Mage\HTTP\Client\Curl.php

- $this->curlOption(CURLOPT_SSL_VERIFYPEER, false);
- $this->curlOption(CURLOPT_SSL_CIPHER_LIST, 'TLSv1');
+ $this->curlOption(CURLOPT_SSL_VERIFYPEER, true);
+ /**
+  * Use value from CURL_SSLVERSION_TLSv1 (available since PHP 5.5)
+  *
+  * @link http://php.net/manual/ru/function.curl-setopt.php
+  */
+
+ $this->curlOption(CURLOPT_SSLVERSION, 1);
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top