"Fatal error: Uncaught SoapFault exception: [HTTP] Could not connect to host" PHP Soap Client SSL -



"Fatal error: Uncaught SoapFault exception: [HTTP] Could not connect to host" PHP Soap Client SSL -

i trying setup soap client communicate using ssl. can able test soap request , response in soapui application using ssl certificate. working fine in soapui application.

when seek same using php throwing below error.

"fatal error: uncaught soapfault exception: [http] not connect host in "

below options used in soapclient. tried add together wssecurity header using wssoapclient.php

$context = stream_context_create( array( 'ssl' => array( 'ciphers' => 'tls-rsa-aes-128-cbc-sha' ), ) ); $options = array( "uri" => $url, "location" => $url, "soap_version" => soap_1_2, "encoding" => "utf-8", "trace" => true, "exceptions" => true, "local_cert" => __dir__ . "/keypair.pem", "cache_wsdl" => wsdl_cache_none, "connection_timeout" => 2000 );

where keypair.pem combination of ssl certificate (.crt) , rsa private key (.pem)

i appreciate help in regard.

thanks

sithik

php ssl soap

Comments

Popular posts from this blog

maven fortify plugin : Unable to load build session with ID XXXXX .. See log file for more details -

c# - Primavera WebServices does not return any data -

android - Display emoji panel with genymotion - keyboard/touch input? -