Re: Migrating to XML_RPC - SSL question
| From: | Justin Patrin | Date: | Thu, 01 Dec 2005 05:45:00 +0000 |
| Subject: | Re: Migrating to XML_RPC - SSL question | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-22113@lists.php.net to get a copy of this message | ||
On 11/29/05, Jeff Tupholme <jeff@makemyshow.com> wrote:
> Hi,
>
> I'm migrating to XML_RPC from the original phpxmlrpc 1.0.99 by Edd
> Dumbill.
>
> Mostly it has been easy, with just the method names needing changing.
> However, I sometimes use SSL and with the old library I used the method:
>
> xmlrpc_client->setSSLVerifyPeer(0)
>
> This was ultimately passed through to cURL and gave some fine-grained
> control over how the SSL interaction took place.
>
> There doesn't seem to be an equivalent of this in the PEAR version, and
> I wonder what its default behaviour is? Is there a plan to add this
> functionality back in, or is there a reason why it is not needed?
>
> Thanks for any clarification anyone can offer. I don't want to cut over
> to the new version without fully understanding the implications.
>
Well it looks like XML_RPC uses fsockopen to make its calls, not curl,
so the same kind of thing won't work. I'm not sure how you'd fix
certificate problems with fsockopen.
--
Justin Patrin