php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #31865 Using client side certificates with soap
Submitted: 2005-02-07 00:29 UTC Modified: 2005-02-07 08:32 UTC
From: csargent at netoptions dot com dot au Assigned: dmitry (profile)
Status: Not a bug Package: Feature/Change Request
PHP Version: 5.0.3 OS: Redhat Linux ES
Private report: No CVE-ID: None
 [2005-02-07 00:29 UTC] csargent at netoptions dot com dot au
Description:
------------
The ability to set client certificates and passkeys in the instatiation of the soap client would be greatly appreciated.

The transport protocol for ssl accepts the certificate and passkey as context options, however, currently there is no way to pass them through the soap client.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-07 08:32 UTC] dmitry@php.net
The support for client certificates is already implemented in CVS (HEAD and PHP_5_0). You should use "local_cert" and "passphrase" options in SoapClient constructor.

new SoapClinet($wsdl, array("local_cert"=>"cert_key.pem"));
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 12:01:31 2024 UTC