[v5.4.3.1] Hi I’m having problems using the SOAP data source asset. I’ve already set up the Matrix proxy settings to go through our corporate proxy and that seems fine (it said ‘passed’) and other assets like REST seem OK, but HTTPS SOAP isn’t playing ball
PHP Warning
SoapClient::SoapClient(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
On the server that hosts Matrix I have a similar problem with my own PHP SOAP scripts unless I specify the proxy in the code and set SSL to no verify peer as shown below:
$client = new SoapClient(‘https://blah.asmx?wsdl’,
array(
‘trace’ => 1,
“location” => ‘https://blah…’,
‘exceptions’ => 1,
‘proxy_host’ => “proxy”,
‘proxy_port’ => 800,
‘stream_context’ => stream_context_create(
array(
‘ssl’ => array(
‘verify_peer’ => false,
‘verify_peer_name’ => false,
)
)
)
)
);
$result = $client->HelloWorld();
print_r($result);
I’m wondering if the SOAP data source asset also needs the proxy set specifically and the no verify peer flag set for it to work but I can’t see any where to set that on the asset in matrix? Maybe this is a bug with the SOAP PHP script in Matrix? Any clues would be appreciated.