Re: Soap over SSL and
| From: | endrazine | Date: | Fri, 10 Jul 2009 14:38:16 +0000 |
| Subject: | Re: Soap over SSL and | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-44908@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dear list, dear David,
David Zülke wrote:
>
> In short:
>
> $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.
Cheers,
j-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkpXUlgACgkQK/YAm7PYybmdbwCgglXXC+MHoJN6vZlv2wCWl/U8
Cj4Anjp4ZDbMZa5yOdnIBoEJheqL3Y5Q
=hm2o
-----END PGP SIGNATURE-----