Comment 11 for bug 592442

Revision history for this message
Arjan van der Veen (arjanvanderveen) wrote :

I want to add a comment that the bug is available for more servers:

<?php
#$ufurl = "https://server.db.kvk.nl/"; # FAILS
#$ufurl = "https://gmail.com/"; #OK
#$ufurl = "https://cas.ucdavis.edu/login"; #FAILS
$fp = fopen($ufurl, 'r');
$data = fread($fp, 10000);
var_dump($data);

?>

output:

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)

Does anybody have a workaround?