#39039 [Opn->Bgs]: SSL: fatal protocol error when fetching HTTPS
| From: | tony2001@php.net | Date: | Wed, 04 Oct 2006 21:48:53 +0000 |
| Subject: | #39039 [Opn->Bgs]: SSL: fatal protocol error when fetching HTTPS | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-103100@lists.php.net to get a copy of this message | ||
ID: 39039
Updated by: tony2001@php.net
Reported By: david at acz dot org
-Status: Open
+Status: Bogus
Bug Type: Filesystem function related
Operating System: SuSE Linux
PHP Version: 5.1.6
New Comment:
Open this URL in any browser, it'll show you something like this: "SSL
certificate @ adsense.google.com belongs to www.google.com. It is
possible that someone is trying to itercept your communication with
this web site".
Apparently wrong SSL certificate is not PHP problem.
Previous Comments:
------------------------------------------------------------------------
[2006-10-04 19:08:38] david at acz dot org
Description:
------------
PHP issues the warning "SSL: fatal protocol error" when fetching
certain HTTPS URLs, including Google AdSense.
The file_get_contents() function works correctly if errors are
suppressed, but I am aware of no way to fix SoapClient.
Since PHP seems capable of working around the error (and other HTTPS
libraries work fine), it would be useful to have a global option
(perhaps enabled by default) to disable the warning.
Reproduce code:
---------------
file_get_contents("https://adsense.google.com/api/adwords/v6/InfoService?wsdl");
new
SoapClient("https://adsense.google.com/api/adwords/v6/InfoService?wsdl");
Expected result:
----------------
The functions should work correctly with no warnings.
Actual result:
--------------
PHP Warning: file_get_contents(): SSL: fatal protocol error
PHP Warning: SoapClient::__construct(): SSL: fatal protocol error
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39039&edit=1