ID: 40210 Updated by: [EMAIL PROTECTED] Reported By: maboiteaspam at gmail dot com -Status: Open +Status: Feedback Bug Type: SOAP related Operating System: Solaris 8 PHP Version: 5.2.0 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2007-01-23 13:57:07] maboiteaspam at gmail dot com Description: ------------ The built-in SOAP client for PHP 5.2 crashs (SegFault) when trying to parse a WSDL file located on a secure Apache server configuring to support client authentication via X.509v3 certificates. The same WSDL works fine on an identical build on a Linux and Solaris server with HTTP and HTTPS connections without strong client authentification. But when the web server is configuring to be limited only to the web browsers that present a valid certificate, PHP SOAP SSL connection crashs. Reproduce code: --------------- Here is a working example: --- $soapClient = new SoapClient( "https://monserveur/generate_wsdl.php", array( 'local_cert'=> "asg-newCert.crt" ) ); The same example but we enable client authentication in the Apache's web server: --- $soapClient = new SoapClient( "https://monserveur/wservices/generate_wsdl.php", array( 'local_cert'=> "asg-newCert.crt" ) ); To enable the use of client certificates, we need to add the following directives to httpd.conf: <Location /www/wservices> SSLVerifyClient require SSLVerifyDepth 5 SSLCACertificateFile /opt/apache/conf/ssl/ca.pem SSLOptions +FakeBasicAuth SSLRequireSSL </Location> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40210&edit=1