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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: csargent at netoptions dot com dot au
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 05:01:27 2025 UTC