Re: [SOAP] WSDL over SSL with a bad cert
| From: | Clay Dowling | Date: | Mon, 25 Apr 2005 12:49:47 +0000 |
| Subject: | Re: [SOAP] WSDL over SSL with a bad cert | ||
| References: | 1 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-1894@lists.php.net to get a copy of this message | ||
Josh Santangelo said:
> I tried posting this via NNTP, but I don't think it ever showed up.
> Apologies for the double-post if I'm wrong. Could use a little help
> here...
NNTP is a read-only interface to this list. No surprises there. Post via
the mailing list and you'll be alright.
> I'm trying to use SOAP with WSDL over SSL on a server that has a weird
> certificate. I'm able to do it directly with curl and curl_setopt, but
> am not sure how to do it similarly with SOAP. This is what I'm trying:
I found myself in this very same situation. The underlying TCP transport
is perfectly capable of being told to accept an alternate signing
authority for a certificate, since it allows anything that OpenSSL
allows. Unfortunately the SOAP client code recognizes a fairly limited
subset of those options. This is unfortunate because I would have been
very happy to use PHP instead of the cobbled-together combination of C++
and Delphi that I was forced to use instead.
This speaks to the need for a uniform function for parsing connection
options. Unfortunately it does not exist at this time. If I had just a
little bit less on my plate or PHP were just a little closer to my central
business needs I would be happy to implement such a beast.
Clay
--
Lazarus Notes from Lazarus Internet Development
http://www.lazarusid.com/notes/
Articles, Reviews and Commentary on web development