SoapClient и сертификаты

maximing

Новичок
SoapClient и сертификаты

Всем добрый день! Пытаюсь создать обьект класса SoapClient.
Проблема в том, что подключение к серверу идёт через https, соответственно там предлагается проверка сертификата.

Учитывая все это пишу:

PHP:
$wsdl = "https://***/Service.asmx?WSDL";  
$opt = array('local_cert' => 'C:\cert.pem');  
$client = new SoapClient($wsdl, $opt);
На что выходит:


Notice: SoapClient::SoapClient() [soapclient.soapclient]: Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in E:\WebRoot\online\maxtest.php on line 4

Warning: SoapClient::SoapClient() [soapclient.soapclient]: I/O warning : failed to load external entity "https://girprj/AlsecoPaymentsService/PaymentsService.asmx?WSDL" in E:\WebRoot\online\maxtest.php on line 4

Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://girprj/AlsecoPaymentsService/PaymentsService.asmx?WSDL' in E:\WebRoot\online\maxtest.php:4 Stack trace: #0 E:\WebRoot\online\maxtest.php(4): SoapClient->SoapClient('https://***/...', Array) #1 {main} thrown in E:\WebRoot\online\maxtest.php on line 4


phpinfo:

SSL_VERSION_LIBRARY OpenSSL/0.9.8d
Soap Client enabled


Кто-нибудь сталкивался с данной проблемой?
 

Alexandre

PHPПенсионер
Сверху