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?

-- 
fopen fails on some SSL urls
https://bugs.launchpad.net/bugs/592442
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to