thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aki Sukegawa <ns...@apache.org>
Subject Re: Force cert validation for THTTP python client
Date Wed, 16 Mar 2016 18:28:18 GMT
If your Python is < 2.7.9, underlying standard library (HTTPSConnection)
does not support this AFAIK.
Otherwise, it should do the validation, as Thrift is just using
HTTPSConnection with default args:
> This class now performs all the necessary certificate and hostname checks
by default.
https://docs.python.org/2/library/httplib.html#httplib.HTTPSConnection


On Tue, Mar 15, 2016 at 2:44 AM j.barrett Strausser <
j.barrett.strausser@gmail.com> wrote:

> Is it possible to force cert validation for the python HTTP client? It
> appears not to do hostname validation or cert chain validation? Is this a
> function of an underlying library?
>
> -Barrett
>

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