I find answer in
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?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityI find answer in
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?
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);