[Twisted-Python] Authenticated SSL

Itamar Shtull-Trauring itamar at itamarst.org
Wed May 21 11:25:10 EDT 2003

On Wed, 21 May 2003 23:06:13 +0800
Wari Wahab <wari at home.wari.org> wrote:

> Hi there, following the echoserver-ssl.py example, I was able to get
> up to speed and basically running my xmlrpc server on SSL. As usual, 
> twisted makes it easy. Now my problem becomes this: I need to verify 
> that the certificate on the other side (The client) is signed by me
> (or a known CA). How would one go about such task?

1. Read pyOpenSSL documentation. (http://pyopenssl.sf.net)

2. Implement a context factory that does the appropriate setup, based on
docs in (1). (twisted.internet.ssl has some sample context factories).

Itamar Shtull-Trauring    http://itamarst.org/
http://www.zoteca.com -- Python & Twisted consulting

More information about the Twisted-Python mailing list