Hi Stig,

That should work. Thanks a lot for the information.

Regards,
Omindu

On Mon, Dec 29, 2014 at 3:23 PM, Stig Bakken <[email protected]> wrote:

> 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 <[email protected]> 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.
> >
>

Reply via email to