0

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?

Muhammad Anas
  • 1,467
  • 3
  • 12
  • 33
chueia
  • 3
  • 1

1 Answers1

0

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);
sv3n
  • 11,657
  • 7
  • 40
  • 73