blending SSL stream context with SOAP client code?
Posted: Fri Mar 06, 2009 9:56 pm
Hi All,
I request you all to help me out with this, please.
The ESX server is configure to use https, unfortunately the certifacte is not proper. Via browser, if I access the wsdl URL, I get a warning that there are glitches in it. However, if I accept it as an exception the browser takes me to the wsdl file.
Well from past one day I am experimenting on consuming the webserivces out ther on the ESX. By reading php manual I learnt that php_soap.dll but default assumes communicate using http . In order to tell php that to use https I have to enable php_*ssl.dll (forgot the exact name).
After reading http://in.php.net/manual/en/context.ssl.php, I was happy that "Yes! it can be achieved", but one question is still eating my head.
1. If the certificate that client gets has glitches, how to programatically handle this situation to say to my Soapclient "hey its ok with that ssl certificate"?
Cheers!!
Harsha Reddy
I request you all to help me out with this, please.
The ESX server is configure to use https, unfortunately the certifacte is not proper. Via browser, if I access the wsdl URL, I get a warning that there are glitches in it. However, if I accept it as an exception the browser takes me to the wsdl file.
Well from past one day I am experimenting on consuming the webserivces out ther on the ESX. By reading php manual I learnt that php_soap.dll but default assumes communicate using http . In order to tell php that to use https I have to enable php_*ssl.dll (forgot the exact name).
After reading http://in.php.net/manual/en/context.ssl.php, I was happy that "Yes! it can be achieved", but one question is still eating my head.
1. If the certificate that client gets has glitches, how to programatically handle this situation to say to my Soapclient "hey its ok with that ssl certificate"?
Cheers!!
Harsha Reddy