Hi,
Problem occurs after update from OpenSSL/1.0.2d to OpenSSL/1.0.2f. Here is script:
The error is:
But curl in console works fine. When i downgrade to OpenSSL/1.0.2d everything back to normal.
I was trying even set CURL_SSLVERSION_TLSv1 but it looks like AES256-SHA did not work.
Maybe the problem are servers *.eveonline.com. They are practically vulnerable to everything in ssllabs.
Abriel
Problem occurs after update from OpenSSL/1.0.2d to OpenSSL/1.0.2f. Here is script:
Code:
<?php
$url = 'https://public-crest.eveonline.com/killmails/33493676/553ac7e2aeabe48092bde10958de0a44dc6f35ef/';
$timeout = 50;
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_VERBOSE, true);
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0.1'); // mPDF 5.7.4
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_NOBODY, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt ( $ch , CURLOPT_RETURNTRANSFER , 1 );
curl_setopt ( $ch , CURLOPT_CONNECTTIMEOUT , $timeout );
$data = curl_exec($ch);
echo $data;
?>
Code:
Error: Error getting data: error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac(35) (Code: 0)
But curl in console works fine. When i downgrade to OpenSSL/1.0.2d everything back to normal.
I was trying even set CURL_SSLVERSION_TLSv1 but it looks like AES256-SHA did not work.
Maybe the problem are servers *.eveonline.com. They are practically vulnerable to everything in ssllabs.
Abriel