from cherrypy import cpg import sslcherry ... cpg.root = Root() sslcherry.start(configFile='foo.conf')
Your config file should contain something like this:
Where "foo.pem" is a file containing your private key and certificate, in the same format that apache uses.
Although the original author of M2Crypto was unsure of its security, M2Crypto has been developed heavily from those days and is in production use. As usual, use at your own risk.
- sslcherry.3.py (2.7 kB) -
v3: Fix SSL error handling so that it doesn't terminate/lock-up the server, added by Tim Evans <email@example.com> on 03/17/07 20:22:42.