Bug #63113 [Com]: can't call method from webservice server ssl3
| From: | milad dot arabi at gmail dot com | Date: | Wed, 19 Sep 2012 14:47:33 +0000 |
| Subject: | Bug #63113 [Com]: can't call method from webservice server ssl3 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-173566@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=63113&edit=1
ID: 63113
Comment by: milad dot arabi at gmail dot com
Reported by: milad dot arabi at gmail dot com
Summary: can't call method from webservice server ssl3
Status: Feedback
Type: Bug
Package: OpenSSL related
Operating System: opensuse 11.4
PHP Version: 5.3.17
Block user comment: N
Private report: N
New Comment:
my server under load and i really cant update it,that webservice only accept specific ip.
file_get_contents result:
Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:
error:140773F2:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert unexpected message in
/data/wwwroot/crm/dga/MustBeDeleted/ter.php on line 4 Warning: file_get_contents(): Failed to enable
crypto in /data/wwwroot/crm/dga/MustBeDeleted/ter.php on line 4 Warning:
file_get_contents(https://mydomain-server.com:8888/bsiws/billing?wsdl): failed to open stream:
operation failed in /data/wwwroot/crm/dga/MustBeDeleted/ter.php on line 4
Previous Comments:
------------------------------------------------------------------------
[2012-09-19 01:53:05] aharvey@php.net
This seems odd. PHP supports SSLv3 in OpenSSL fine.
What error messages do you get? Make sure error_reporting is set to -1 and display_errors is turned
on.
What happens if you try file_get_contents('https://domain.com:8888/bsiws/billing?wsdl')?
Finally, please try a current version: either 5.3.17 or 5.4.7.
------------------------------------------------------------------------
[2012-09-18 16:57:46] milad dot arabi at gmail dot com
Description:
------------
hi all
i must connect to some webservice server that only accepts ssl3.
in command line i set -ssl3 flag for openssl and work fine.if i not specify version,openssl
don't attmep version 3 and got error.i think this wrong behavior affected on php.
but in php we can't specify what ssl version to use.
php5.3.5
sorry for my poor language
Actual result:
--------------
SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://domain.com:8888/bsiws/billing?wsdl'
: failed to load external entity "https://domain.com:8888/bsiws/billing?wsdl"
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=63113&edit=1