[Twisted-Python] https server example with client certs for twisted

Gelonida gelonida at gmail.com
Sun Jul 11 13:02:22 MDT 2010


H,

I'd like to implement a small https twisted server,

which can wrap a wsgi module and which
can verify client certificates


I am able to do this with apache, but would like to do the same with
twisted.


What I have running is following.

The

#!/bin/sh
certfile=mycert.crt
keyfile=mycert.key
wsgi_module=tw_wrapper.application

twistd -n web --https 4433 \
    --certificate $certfile --privkey $keyfile \
    --wsgi $wsgi_module



I wondered where I could find any good example code
implementing a web server with client certificate authentication
( and ideally with a  subsequent wsgi module)

TIA





More information about the Twisted-Python mailing list