New submission from Donald Stufft:

Currently the Python SSL module requires the full chain, including all 
intermediaries, to be served in order to validate a TLS connection. This isn't 
*wrong* however a number of folks have had issues trying to setup a custom PyPI 
index in pip due to missing them. The believed the problem with validation to 
be in pip/Python because it works in their browser.

Essentially browsers have the ability to download missing intermediate certs 
using an url found inside the AIA data. This is slow and isn't generally 
recommended that you rely on it for any particular site. However it does mean 
that TLS connections work in more situations.

At the least this should probably be documented, and possibly the Python 
library be enhanced to be more browser like in this regard.

----------
components: Library (Lib)
messages: 194088
nosy: dstufft
priority: normal
severity: normal
status: open
title: TLS and Intermediate Certificates
type: enhancement

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18617>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to