It looked like this bug is still there. I used the code below to test: <?php file_get_contents('https://aquarius.neweb.com.tw');
Three environments: # PHP Version 5.3.5-1ubuntu7.3 Suhosin Patch 0.9.10 Apache/2.2.17 (Ubuntu) OpenSSL 0.9.8o 01 Jun 2010 # PHP Version 5.3.6-13ubuntu3.2 Suhosin Patch 0.9.10 Apache/2.2.20 (Ubuntu) OpenSSL 1.0.0e 6 Sep 2011 # PHP Version 5.2.4-2ubuntu5.17 Suhosin Patch 0.9.6.2 Apache/2.2.8 (Ubuntu) OpenSSL 0.9.8g 19 Oct 2007 Only the one of PHP Version 5.2.4 could get correct response. The other two returned the errors like: Warning: file_get_contents() [function.file-get-contents]: Failed to enable crypto in xxx.php on line 2 Warning: file_get_contents(https://aquarius.neweb.com.tw) [function.file-get-contents]: failed to open stream: operation failed in xxx.php on line 2 I originally guess it's because the domain I was trying to communicate, https://aquarius.neweb.com.tw, is using Wildcard SSL Certificate (*.neweb.com.tw). But there's no error when communicating with https://encrypted.google.com/ , which is using *.google.com. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/592442 Title: fopen fails on some SSL urls To manage notifications about this bug go to: https://bugs.launchpad.net/php/+bug/592442/+subscriptions -- 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