This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Westly.Ward
Recipients Westly.Ward
Date 2010-05-07.20:49:50
SpamBayes Score 0.02632633
Marked as misclassified No
Message-id <1273265394.09.0.646660549737.issue8655@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-05-07 20:49:54Westly.Wardsetrecipients: + Westly.Ward
2010-05-07 20:49:54Westly.Wardsetmessageid: <1273265394.09.0.646660549737.issue8655@psf.upfronthosting.co.za>
2010-05-07 20:49:51Westly.Wardlinkissue8655 messages
2010-05-07 20:49:50Westly.Wardcreate