Bots-Monitor over HTTPS
Warning
This section has not been updated since v.3.2. Bots in the current version may operate differently than described below.
This feature is introduced in bots 2.1.0.
This works with cherrypy > 3.2.0 in combination with python 2.6 or 2.7. In python 2.5 this works (using extra dependency pyOpenssl) but gives problems with reading plugins.
Procedure
You will need an SSL certificate. You can use self-signed certificates.
In
bots/config/bots.iniuncomment options ssl_certificate and ssl_private_key (in section webserver), and set these to the right value, eg:ssl_certificate = /mysafeplace/mycert.pem ssl_private_key = /mysafeplace/mycert.pem #In this example certificate and private key are in the same pem-file.
Restart bots-webserver
Point your browser to the right https-address, eg: https://localhost:8080
Note
If you are using cherrypy and receive an error “ssl_error_rx_record_too_long” try the 2-line fix
There are many ways to create self-signed certificates. On *nix you can use OpenSSL (see this question, on Windows this guide.
You can configure port=443 in bots.ini then just point your browser to https://localhost