[Python-Dev] Enable Hostname and Certificate Chain Validation

Paul Moore p.f.moore at gmail.com
Wed Jan 22 13:03:08 CET 2014


On 22 January 2014 11:29, Donald Stufft <donald at stufft.io> wrote:
>> 1. To be "like the browser" we'd need to use the OS certificate store,
>> which isn't the case on Windows at the moment (managing those
>> certificate bundle files is most definitely *not* "like the browser" -
>> I'd have no idea how to add a self-certificate to the bundle file
>> embedded in pip, for example).
>
> Python 3.4 added the ability to use the OS cert store on Windows,
> see http://bugs.python.org/issue17134.

Brilliant. I didn't know that.

Will pip when run on Python 3.4 use the OS cert store? I guess the
answer is probably "no" (but i'd love to be pleasantly surprised).

Paul


More information about the Python-Dev mailing list