Problems with SoapClient and local_cert
| From: | Ivan Rodriguez | Date: | Mon, 22 Feb 2010 16:50:01 +0000 |
| Subject: | Problems with SoapClient and local_cert | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-3058@lists.php.net to get a copy of this message | ||
Hello,
I'm trying to connect to a service that requires HTTPS authentication, I
follow the steps of PHP manual doing this:
$client = new SoapClient("https://IP/wsapis?swdl", array(
'trace' => true,
'local_cert' => 'C:\\myCert.pem',
'passphrase' => 'myPassphrase'
));
But I can't access to remote file, when I try to connect I get this error:
*PHP* Fatal *error*: Uncaught SoapFault exception: [*WSDL*]
SOAP-*ERROR*: *Parsing
WSDL*: Couldn't load from 'https://IP/*wsapis?wsdl*'
Is necesary to have installed special libraries?
Any ideas?
Thanks.