I need to use PHP's SoapClient with myfile-ca.crt. How can I tell SoapClient constructor to work with client certificate (crt file) ?
I am experienced with php SoapClient, but I never needed to work with secure soap client.
Thanks for any help
Join Stack Overflow to learn, share knowledge, and build your career.
|
I need to use PHP's SoapClient with myfile-ca.crt. How can I tell SoapClient constructor to work with client certificate (crt file) ? I am experienced with php SoapClient, but I never needed to work with secure soap client. Thanks for any help |
|||
|
|
|
When constructing your SoapClient, you can pass in a configuration array as the second parameter. This array allows the options
See also the examples at the SoapClient manual page Note: I've always been given .pem files; not sure if .crt is the same / works the same...? |
|||||||||||||||||||||
|