Re: Soap over SSL and
| From: | Hannes Magnusson | Date: | Fri, 10 Jul 2009 14:58:36 +0000 |
| Subject: | Re: Soap over SSL and | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-44916@lists.php.net to get a copy of this message | ||
On Fri, Jul 10, 2009 at 16:52, endrazine<endrazine@gmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hannes Magnusson wrote:
>> On Fri, Jul 10, 2009 at 16:38, endrazine<endrazine@gmail.com> wrote:
>>> David Zülke wrote:
>>>
>>>> $c = new SoapClient(
>>>> 'https://foo/bar.wsdl',
>>>> array(
>>>> 'stream_context" => stream_context_create(array(
>>>> 'ssl' => array(
>>>> 'verify_peer' => true
>>>> )
>>>> ))
>>>> )
>>>> );
>>>
>>> This works and solves the issue, thank you :)
>>>
>>> The other methods I have been suggested and have been testing, for
>>> instance recompiling with --with-curlwrappers do NOT work.
>>
>> --with-curlwrappers overwrites the builtin stream support to use curl.
>> The curlwrappers have their own context options:
>> http://php.net/context.curl
>>
>>
>> -Hannes
>>
>
> I verified it doesn't work.
Then please report a bug.
-Hannes