Bug #52913 [NEW]: Incorrect SNI (Server name indicator) when using a SoapClient through a proxy
From:
Operating system: Windows Server 2008 r2
PHP version: 5.3.3
Package: OpenSSL related
Bug Type: Bug
Bug description:Incorrect SNI (Server name indicator) when using a SoapClient through a proxy
Description:
------------
When calling a url on apache server with name "APACHESERVER" through a
proxy with name "PROXY" the following error occurs:
Hostname PROXY provided via SNI and hostname APACHESERVER provided via HTTP
are different
ie calling url:
https://APACHESERVER/ws.php
with proxy at:
http://PROXY:8080/
Test script:
---------------
$config = array('location' => WEBSERVICE_LOCATION,
'classmap' => $wsclassmap,
'trace' => 1,
);
if (WEBSERVICE_PROXY_HOST && WEBSERVICE_PROXY_PORT) {
$config['proxy_host'] = WEBSERVICE_PROXY_HOST;
$config['proxy_port'] = WEBSERVICE_PROXY_PORT;
}
$ws_client = new SoapClient($wsdl,$config);
--
Edit bug report at http://bugs.php.net/bug.php?id=52913&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=52913&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=52913&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=52913&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=52913&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=52913&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=52913&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=52913&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=52913&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=52913&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=52913&r=support
Expected behavior: http://bugs.php.net/fix.php?id=52913&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=52913&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=52913&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=52913&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52913&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=52913&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=52913&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=52913&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=52913&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=52913&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=52913&r=mysqlcfg
Thread (5 messages)
- terje dot gjerde at visma dot no