httpserver as https

10 views
Skip to first unread message

docyes

unread,
Apr 8, 2008, 3:32:14 PM4/8/08
to web.py
Is there a simple way to run httpserver as https (ssl).

bubblboy

unread,
Apr 8, 2008, 6:00:25 PM4/8/08
to we...@googlegroups.com
docyes wrote:
> Is there a simple way to run httpserver as https (ssl).

Hook it behind a webserver/proxy that supports it? Or is that not enough..?

docyes

unread,
Apr 8, 2008, 6:19:26 PM4/8/08
to web.py
I was curious if a method was available to invoke the
CherryPyWSGIServer ssl support that I overlooked in the source tree.

docyes

unread,
Apr 11, 2008, 6:41:44 PM4/11/08
to web.py
# 0.3 dev branch

# Get CherryPy
from web.wsgiserver import CherryPyWSGIServer

# Set cert and key
CherryPyWSGIServer.ssl_certificate = 'path/mycert.pem'
CherryPyWSGIServer.ssl_private_key = 'path/myprivkey.pem'

# Run your app
myapp.run()
Reply all
Reply to author
Forward
0 new messages