0
아래 주어진 코드를 실행하면 ERROR: Invalid HTTPS client certificate path
오류가 생성됩니다. certificate.pem 및 test.wsdl 경로가 올바른지 확인했습니다. 그러한 오류의 원인은 무엇일까요?SOAP : 잘못된 HTTPS 클라이언트 인증서 경로
$wsdl = 'http://localhost:10088/test/test.wsdl';
$options = array(
'local_cert' => 'http://localhost:10088/test/certificate.pem',
'soap_version' => SOAP_1_1
);
try {
$client = new Zend_Soap_Client($wsdl, $options);
$result = $client->getLastResponse();
print_r($result);
} catch (SoapFault $s) {
die('ERROR: [' . $s->faultcode . '] ' . $s->faultstring);
} catch (Exception $e) {
die('ERROR: ' . $e->getMessage());
}