I using PEM certifacte to autheticate WSDL requests.
$cert = '/etc/.../cert.pem';
$client = new SoapClient('https://somesservice.com/service.asmx?WSDL',
array( "cache_wsdl" => WSDL_CACHE_NONE,
"local_cert" => $cert));
I getting failed to load external entity error. If i try get wsdl by curl
curl --key /etc/.../cert.key --cert /etc/.../cert.pem "https://somesservice.com/service.asmx?WSDL"
it works fine
Edit: Or maybe my PEM certifacte must have a private key section ?