#40210 [NEW]: SOAP client crash when parse WSDL file located on a SSL/TLS apache server

Ask a Question related to PHP Bugs, Design and Development.

  1. #1

    Default #40210 [NEW]: SOAP client crash when parse WSDL file located on a SSL/TLS apache server

    From: maboiteaspam at gmail dot com
    Operating system: Solaris 8
    PHP version: 5.2.0
    PHP Bug Type: SOAP related
    Bug description: SOAP client crash when parse WSDL file located on a SSL/TLS apache server

    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 bug report at [url]http://bugs.php.net/?id=40210&edit=1[/url]
    --
    Try a CVS snapshot (PHP 4.4): [url]http://bugs.php.net/fix.php?id=40210&r=trysnapshot44[/url]
    Try a CVS snapshot (PHP 5.2): [url]http://bugs.php.net/fix.php?id=40210&r=trysnapshot52[/url]
    Try a CVS snapshot (PHP 6.0): [url]http://bugs.php.net/fix.php?id=40210&r=trysnapshot60[/url]
    Fixed in CVS: [url]http://bugs.php.net/fix.php?id=40210&r=fixedcvs[/url]
    Fixed in release: [url]http://bugs.php.net/fix.php?id=40210&r=alreadyfixed[/url]
    Need backtrace: [url]http://bugs.php.net/fix.php?id=40210&r=needtrace[/url]
    Need Reproduce Script: [url]http://bugs.php.net/fix.php?id=40210&r=needscript[/url]
    Try newer version: [url]http://bugs.php.net/fix.php?id=40210&r=oldversion[/url]
    Not developer issue: [url]http://bugs.php.net/fix.php?id=40210&r=support[/url]
    Expected behavior: [url]http://bugs.php.net/fix.php?id=40210&r=notwrong[/url]
    Not enough info: [url]http://bugs.php.net/fix.php?id=40210&r=notenoughinfo[/url]
    Submitted twice: [url]http://bugs.php.net/fix.php?id=40210&r=submittedtwice[/url]
    register_globals: [url]http://bugs.php.net/fix.php?id=40210&r=globals[/url]
    PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=40210&r=php3[/url]
    Daylight Savings: [url]http://bugs.php.net/fix.php?id=40210&r=dst[/url]
    IIS Stability: [url]http://bugs.php.net/fix.php?id=40210&r=isapi[/url]
    Install GNU Sed: [url]http://bugs.php.net/fix.php?id=40210&r=gnused[/url]
    Floating point limitations: [url]http://bugs.php.net/fix.php?id=40210&r=float[/url]
    No Zend Extensions: [url]http://bugs.php.net/fix.php?id=40210&r=nozend[/url]
    MySQL Configuration Error: [url]http://bugs.php.net/fix.php?id=40210&r=mysqlcfg[/url]
    maboiteaspam at gmail dot com Guest

  2. Similar Questions and Discussions

    1. #31050 [Com]: SOAP class will not parse WSDL file located on a secure HTTPS connection
      ID: 31050 Comment by: youngad6 at gmail dot com Reported By: dylanwoster at mac dot com Status: No Feedback...
    2. #39832 [NEW]: SOAP Server: parameter not matching the WSDL specified type are set to 0
      From: ebourlon at mail dot mobistar dot be Operating system: Win32 PHP version: 5.2.0 PHP Bug Type: SOAP related Bug...
    3. #39121 [NEW]: Incorrect return array handling in non-wsdl soap client.
      From: sos at sokhapkin dot dyndns dot org Operating system: Gentoo linux PHP version: 5.1.6 PHP Bug Type: SOAP related Bug...
    4. creating proxy client via .wsdl file
      I have a simple web service(service1.asmx). I browse the wsdl via?wsdl option. Then I save the wsdl to a txt file with wsdl...
    5. Apache Axis and OC4J Integration as new SOAP Server Help
      I am currently attempting to install Apache Axis (Apache SOAP 3.0) into OC4J in order to replace the older Apache 2.2 SOAP that it uses. Axis...
  3. #2

    Default #40210 [Opn->Fbk]: SOAP client crash when parse WSDL file located on a SSL/TLS apache server

    ID: 40210
    Updated by: [email]tony2001@php.net[/email]
    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:

    [url]http://snaps.php.net/php5.2-latest.tar.gz[/url]

    For Windows:

    [url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]




    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 [url]http://bugs.php.net/?id=40210&edit=1[/url]
    tony2001@php.net Guest

  4. #3

    Default #40210 [Fbk->Csd]: SOAP client crash when parse WSDL file located on a SSL/TLS apache server

    ID: 40210
    User updated by: maboiteaspam at gmail dot com
    Reported By: maboiteaspam at gmail dot com
    -Status: Feedback
    +Status: Closed
    Bug Type: SOAP related
    Operating System: Solaris 8
    PHP Version: 5.2.0
    New Comment:

    The last version solved this problem thanks a lot !


    Previous Comments:
    ------------------------------------------------------------------------

    [2007-01-23 14:13:56] [email]tony2001@php.net[/email]

    Please try using this CVS snapshot:

    [url]http://snaps.php.net/php5.2-latest.tar.gz[/url]

    For Windows:

    [url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]



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

    [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 [url]http://bugs.php.net/?id=40210&edit=1[/url]
    maboiteaspam at gmail dot com Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139