[issue20469] ssl.getpeercert() should include extensions

A Hettinger report at bugs.python.org
Sat Feb 1 01:08:42 CET 2014


New submission from A Hettinger:

I have crafted an ssl cert which contains a custom extension, when I check the cert using OpenSSL on the commandline, I clearly see the extension, but when I have the server try to pprint.pprint(s.getpeercert()), I do not see these fields.

Overall, I think it would be helpful to include extensions in ssl.getpeercert()'s returned list, but if there is a workaround for this (probably rare) issue, I would appreciate it.

(I have only tested 3.4, not head)

----------
components: Extension Modules
messages: 209850
nosy: oninoshiko
priority: normal
severity: normal
status: open
title: ssl.getpeercert() should include extensions
versions: Python 3.4

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


More information about the Python-bugs-list mailing list