[New-bugs-announce] [issue8655] Problem with getpeercert in the ssl module when retrieving client side certs

Westly Ward report at bugs.python.org
Fri May 7 22:49:54 CEST 2010


New submission from Westly Ward <sonicrules1234 at gmail.com>:

I originally had this problem when writing my IRCd, but then tested it in a basic script.  The problem is that getpeercert() is always returning None when executed on the server side, even when the client is using an ssl cert.  I have included an example in the attachment.  Just run sslserver.py in one terminal window, and then run sslclient.py in the other.  I also included the two fresh ssl certs and keys I used.  In client.txt and server.txt I put the commands I used to generate the ssl certs and keys.

----------
components: Library (Lib)
files: ssltest.tar.gz
messages: 105227
nosy: Westly.Ward
priority: normal
severity: normal
status: open
title: Problem with getpeercert in the ssl module when retrieving client side certs
versions: Python 2.6
Added file: http://bugs.python.org/file17249/ssltest.tar.gz

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


More information about the New-bugs-announce mailing list