2018-10-05 08:33:26 +00:00
|
|
|
# Deluge Web UI
|
2009-07-20 09:36:16 +00:00
|
|
|
|
2019-06-08 15:42:25 +00:00
|
|
|
The Deluge web interface is a full featured interface built using the ExtJS framework,
|
2019-06-15 18:44:33 +00:00
|
|
|
running on top of a Twisted web server.
|
2009-07-20 09:36:16 +00:00
|
|
|
|
2018-10-05 08:33:26 +00:00
|
|
|
## SSL Configuration
|
2009-07-20 09:36:16 +00:00
|
|
|
|
|
|
|
By default the web interface will use the same private key and certificate as
|
2019-06-08 15:42:25 +00:00
|
|
|
the Deluge daemon. You can use a different certificate/key and specify it in the Web UI
|
|
|
|
config, see below for details.
|
|
|
|
|
|
|
|
### Create SSL Certificate Examples
|
|
|
|
|
|
|
|
Sample guide: [How to Create a SSL Certificate][ssl cert]
|
|
|
|
|
|
|
|
#### Linux
|
|
|
|
|
|
|
|
openssl req -new -x509 -nodes -out deluge.cert.pem -keyout deluge.key.pem
|
|
|
|
|
|
|
|
#### Windows
|
|
|
|
|
|
|
|
C:\OpenSSL\bin\openssl.exe req -config C:\OpenSSL\bin\openssl.cnf -x509 -days 365 -newkey rsa:1024 -keyout hostkey.pem -nodes -out hostcert.pem
|
|
|
|
|
|
|
|
### Enable Web UI SSL
|
|
|
|
|
2019-06-15 18:44:33 +00:00
|
|
|
There are two ways to enable SSL encryption in the web server:
|
2019-06-08 15:42:25 +00:00
|
|
|
|
|
|
|
- Specify in your config (accessible via the Preferences window).
|
2019-06-15 18:44:33 +00:00
|
|
|
- Use `--ssl` when running the web server, overriding the configuration value to enable SSL.
|
2019-06-08 15:42:25 +00:00
|
|
|
|
|
|
|
## Enable Development mode
|
|
|
|
|
2019-06-15 18:44:33 +00:00
|
|
|
Append `?dev=true` to the Web UI URL to enable development mode, uses the source
|
|
|
|
JavaScript files (if available) rather than compressed versions:
|
2019-06-08 15:42:25 +00:00
|
|
|
|
|
|
|
http://127.0.0.1:8112/?dev=true
|
|
|
|
|
|
|
|
[ssl cert]: http://www.yatblog.com/2007/02/27/how-to-create-a-ssl-certificate/
|