Message105227
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. |
|
Date |
User |
Action |
Args |
2010-05-07 20:49:54 | Westly.Ward | set | recipients:
+ Westly.Ward |
2010-05-07 20:49:54 | Westly.Ward | set | messageid: <1273265394.09.0.646660549737.issue8655@psf.upfronthosting.co.za> |
2010-05-07 20:49:51 | Westly.Ward | link | issue8655 messages |
2010-05-07 20:49:50 | Westly.Ward | create | |
|