thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stig Bakken <s...@zedge.net>
Subject Re: Providing a CA file with THttpClient in PHP
Date Mon, 29 Dec 2014 09:53:49 GMT
Hi Omindu,

You can accomplish this quite easily yourself, by extending THttpClient and
implementing your own flush() method.
See
http://phpsecurity.readthedocs.org/en/latest/Transport-Layer-Security-%28HTTPS-SSL-and-TLS%29.html
for an example of how to supply your own ca file.

 - Stig


On Tue, Dec 23, 2014 at 1:34 PM, Omindu <omindu.dishan@gmail.com> wrote:

> Hi,
>
> I'm working on a PHP client to communicate with a server via Thrift. I
> would like to know whether it is possible to provide a CA file for server
> verification when using THttpClient in PHP ?
>
> If it can be done what is the recommended approach ?
>
> Thank you.
>
> Regards,
> Omindu.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message