So, I'm trying to consume a webservice using something like this: $client = new SoapClient("some.wsdl", array('local_cert' => "cert_key.pem"));
I've done this successfully in the past with other web services that required a cert & key concatenated into the local_cert file. Now, I'm trying to consume a service that also relies on a trusted CA. This is a J2EE (Axis) webservice I'm consuming and every time I try to get opinions from the team hosting that service, they tell me that it must be a PHP issue...
The response I get from the SoapClient call is always a cannot connect. I used to be getting SSL errors, but then I realized I was using the wrong server cert, so now I at least know that I am on the right path of creating an SSL call.
What I don't know is how to make sure the CA cert gets included in that local_cert file. I have my server cert, my server cert key, and the CA cert, but is there an order in which I concatenate them in local_cert? Am I completely missing something?
Thanks in advance