From:             gkrajci at arescorporation dot com
Operating system: Windows 2003 Server
PHP version:      5.1.2
PHP Bug Type:     SOAP related
Bug description:  PHP SOAP SSL Problem

Description:
------------
I am trying to establish a PHP SOAP SSL connection from our development
server to a Java application. When I perform this SOAP call over HTTP I
have no problem, and when I perform this SOAP call over HTTPS I have a
problem. 

I tested the PHP SOAP SSL connection on both PHP Version 5.1.2 and Zend
Core for Oracle (PHP Version 5.0.5) with no success on either.

I had one of our sys admins monitor the traffic, and PHP always connects
over port 80 (HTTP) and not SSL (HTTPS).

Reproduce code:
---------------
Windows 2003 Server and PHP Version 5.1.2

ESWGCERTIFICATE points to the PEM file C:/OpenSSL/bin/PEM/eswg.pem

$context["ssl"]["local_cert"] = ESWGCERTIFICATE;
$stream_context = stream_context_create($context);

$soap_client_url = "https://[domain]/ws/api/Session.wsdl";;
$cz_session = new SoapClient( $soap_client_url, 
                  array(    "trace" => true, 
                            "exceptions" => true, 
                            "proxy_host" => PROXYHOST, 
                            "proxy_port" => PROXYPORT,
                            "stream_context" => $stream_context,
                            "local_cert" => ESWGCERTIFICATE
                            )
                  );


Expected result:
----------------
The same information as received when I call the same function over HTTP.

Actual result:
--------------
SOAP Fault:
soapenv:Client
faultstring: This site is configured to only accept requests that use the
SSL protocol.

-- 
Edit bug report at http://bugs.php.net/?id=36657&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=36657&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=36657&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=36657&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=36657&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=36657&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=36657&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=36657&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=36657&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=36657&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=36657&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=36657&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=36657&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=36657&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=36657&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=36657&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=36657&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=36657&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=36657&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=36657&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=36657&r=mysqlcfg

Reply via email to