[issue20469] ssl.getpeercert() should include extensions

Antoine Pitrou report at bugs.python.org
Tue Mar 25 01:20:44 CET 2014


Antoine Pitrou added the comment:

The ssl module doesn't return all cert contents simply because it isn't easy to do so, or at least AFAICT it isn't. If you look at _decode_certificate() in Modules/_ssl.c you'll see the kind of code that is needed for the few fields that Python currently returns :-)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20469>
_______________________________________


More information about the Python-bugs-list mailing list