Re: Soap over SSL and
| From: | endrazine | Date: | Fri, 10 Jul 2009 14:52:24 +0000 |
| Subject: | Re: Soap over SSL and | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-44912@lists.php.net to get a copy of this message | ||
-----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.
Regards,
j-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkpXVagACgkQK/YAm7PYyblesgCcD25MfGepg4UslL/YYi+R0Yo9
Tu8An3hNn3ad3iXVsBK0fc/2BhqSkSTl
=186g
-----END PGP SIGNATURE-----