Pure Python HTTPS Server

Trevor Perrin trevp at trevp.net
Thu Feb 26 17:45:56 EST 2004


At 04:56 PM 2/26/2004 -0500, Mikey At Work wrote:

>Does anyone know of any HTTPS servers available that are totally written in
>Python?  Thanks.


tlslite lets you run Python's BaseHTTPServer or SimpleHTTPServer with HTTPS.
http://trevp.net/tlslite/

It's pure-python, but you have to generate your server certificate 
externally (like with OpenSSL).

Also, it doesn't know how to load OpenSSL's PEM-encoded private keys unless 
you have M2Crypto.  I'll add that next week.


Trevor 





More information about the Python-list mailing list