New submission from Westly Ward <sonicrules1...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue8655> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com