|
|
|
|
|
by dddomodossola
2822 days ago
|
|
yes, https is supported. you have to config 3 parameters in the "start" function call:
certfile: ssl certificale filename
keyfile: ssl key file
ssl_version: authentication version (i.e. ssl.PROTOCOL_TLSv1_2). If None, disables ssl encription |
|
Bottle is great if you have a simple use case... but getting HTTPS going was horrible. I can't count how many back-end engines I tried (cherrypi, paste, cheroot, gevent, waitress, etc.). Finally got it working on gunicorn.
I'd love to find a framework that abstracts all this away so I don't have to think about it...