PHP Warning: fopen(): SSL operation failed with code 1. OpenSSL Error messages:
error:1407741A:SSL routines:func(119):reason(1050) in /tmp/urltest.php on line 7
PHP Warning: fopen(): Failed to enable crypto in /tmp/urltest.php on line 7
PHP Warning: fopen(https://server.db.kvk.nl/): failed to open stream: operation failed in /tmp/urltest.php on line 7
PHP Warning: fread() expects parameter 1 to be resource, boolean given in /tmp/urltest.php on line 8
bool(false)
I want to add a comment that the bug is available for more servers:
<?php /server. db.kvk. nl/"; # FAILS /gmail. com/"; #OK /cas.ucdavis. edu/login"; #FAILS
#$ufurl = "https:/
#$ufurl = "https:/
#$ufurl = "https:/
$fp = fopen($ufurl, 'r');
$data = fread($fp, 10000);
var_dump($data);
?>
output:
PHP Warning: fopen(): SSL operation failed with code 1. OpenSSL Error messages: func(119) :reason( 1050) in /tmp/urltest.php on line 7 /server. db.kvk. nl/): failed to open stream: operation failed in /tmp/urltest.php on line 7
error:1407741A:SSL routines:
PHP Warning: fopen(): Failed to enable crypto in /tmp/urltest.php on line 7
PHP Warning: fopen(https:/
PHP Warning: fread() expects parameter 1 to be resource, boolean given in /tmp/urltest.php on line 8
bool(false)
Does anybody have a workaround?