Edit report at http://bugs.php.net/bug.php?id=41770&edit=1

 ID:                 41770
 Updated by:         paj...@php.net
 Reported by:        car...@php.net
 Summary:            SSL: fatal protocol error due to buffer issues
-Status:             No Feedback
+Status:             Feedback
 Type:               Bug
 Package:            Streams related
 Operating System:   Linux
 PHP Version:        5.2.3
-Assigned To:        iliaa
+Assigned To:        pajoye
 Block user comment: N
 Private report:     N

 New Comment:

Please try using a recent PHP version (5.3+) and a decent openssl
version (0.9.8k+). We also need an URL against which we can reproduce
the error, as well as the script you use to do it.


Previous Comments:
------------------------------------------------------------------------
[2010-12-18 00:42:14] ryandewhurst at gmail dot com

I have come across many PHP bug reports on this dating back to 2003 and
every single one tries to mask the problem rather than solve it. We will
soon be in 2011, is there or have there been any fixes for this? The
https server is PayPal. 



# php -v

PHP 5.1.6 (cli) (built: Mar 31 2010 02:44:37) 

Copyright (c) 1997-2006 The PHP Group

Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies



CentOS 5.x

------------------------------------------------------------------------
[2007-12-17 02:14:07] paul at cynergydata dot com

I'm using PHP 5.1.4 on a Windows XP Laptop running Apache 2.0 and I get
the error when using SoapClient.  Here is my code:



$url =
"https://payments.cynergydata.com/SmartPayments/transact2.asmx?WSDL";;



$client = new SoapClient($url);



-- a pretty simple example going against an IIS server.  I will try
other methods as I need to find a workaround for a client ASAP.

------------------------------------------------------------------------
[2007-07-25 13:31:41] johnw at sussex dot ac dot uk

I get this bug too,using fsockopen('ssl://...') followed by fgets()



I'm using PHP 5.2.1 on Solaris 9 using OpenSSL/0.9.7b.



If I call @fgets(...) my application seems to work but it would be 

better if the bug was fixed properly!



The ssl server I'm connecting to is an IIS one.

------------------------------------------------------------------------
[2007-07-13 01:00:00] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------
[2007-07-05 20:36:18] il...@php.net

I am unable to reproduce the bug with 4 different HTTPS hosts and the 

provided code. Do you have a particular URL/host that can be used to 

reproduce the described issue.

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


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

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


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

Reply via email to