how can i use using pkcs12 format eg .p12 certificates with php soapclient
i am using the following code but i throwing fatal exception
$client = new SoapClient('SalaryDeclarationService.wsdl',array('login' =>'tester','password'=>'tester','local_cert'=>'res.p12','trace'=>1 ));
exception that i am getting
Fatal error: Uncaught SoapFault exception: [HTTP] Could not connect to host in C:\wamp\www\webservice\webclient.php:27 Stack trace: #0 [internal function]: SoapClient->doRequest('<?xml version="...', 'https://tst.its...', '', 1, 0) #1 C:\wamp\www\webservice\webclient.php(27): SoapClient->soapCall('CheckInteropera...', Array) #2 {main} thrown in C:\wamp\www\webservice\webclient.php on line 27
i tried to convert .p12 file to .pem file using openssl utility but it is asking for import password that i don't have.
please help me
Thank you.