Bug #52106 [Com]: fopen fails on some SSL urls

From: Date: Wed, 22 Oct 2014 07:14:47 +0000
Subject: Bug #52106 [Com]: fopen fails on some SSL urls
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-188256@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=52106&edit=1

 ID:                 52106
 Comment by:         suletom at freemail dot hu
 Reported by:        sc0ttbeardsley at gmail dot com
 Summary:            fopen fails on some SSL urls
 Status:             No Feedback
 Type:               Bug
 Package:            OpenSSL related
 Operating System:   Ubuntu Lucid/Maverick
 PHP Version:        5.3.2
 Block user comment: N
 Private report:     N

 New Comment:

I'm still experiencing this issue. 

OS version: centos 6 x86_64

PHP version: PHP 5.3.14 (cli) (built: Dec 10 2013 10:53:17) 
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies

<?php
error_reporting(E_ALL);
ini_set('display_errors', TRUE);

echo file_get_contents("https://www.edubase.hu")."\n";
?>

RESULT:

Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:
error:14077410:SSL routines:func(119):reason(1040) in /x2.php on line 6

Warning: file_get_contents(): Failed to enable crypto in /x2.php on line 6

Warning: file_get_contents(https://www.edubase.hu): failed to open stream: operation failed in
/x2.php on line 6

Using the stock centos packed PHP (PHP 5.3.3 (cli) (built: Sep 30 2014 05:55:00)) it works as
expected.


Previous Comments:
------------------------------------------------------------------------
[2013-02-18 00:34:20] php-bugs at lists dot php dot net

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

------------------------------------------------------------------------
[2011-12-16 15:16:54] ns at centralservices dot nl

The issue has been fixed for me in the latest PHP 5.3 release of Ubuntu 10.04.3 LTS.

------------------------------------------------------------------------
[2011-02-02 19:20:50] website-php at interfasys dot ch

It's fixed for me on 5.3.x. Too bad this hasn't been ported back to 5.2.x

------------------------------------------------------------------------
[2011-02-02 15:18:29] cataphract@php.net

Please see if the new feature for bug #53447 resolves this issue.

------------------------------------------------------------------------
[2010-12-02 07:44:18] clint at ubuntu dot com

I think this issue is actually on the server side, and may be superceded by this 
bug request I just filed:

http://bugs.php.net/bug.php?id=53447

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=52106


--
Edit this bug report at https://bugs.php.net/bug.php?id=52106&edit=1


Thread (17 messages)

« previous php.bugs (#188256) next »