summaryrefslogtreecommitdiffstats
path: root/docs/source/reference/web.md
blob: f0471ce478c7a64229dae29867652708eabc0fd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Deluge Web UI

The Deluge web interface is a full featured interface built using the ExtJS framework,
running on top of a Twisted web server.

## SSL Configuration

By default the web interface will use the same private key and certificate as
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

There are two ways to enable SSL encryption in the web server:

- Specify in your config (accessible via the Preferences window).
- Use `--ssl` when running the web server, overriding the configuration value to enable SSL.

## Enable Development mode

Append `?dev=true` to the Web UI URL to enable development mode, uses the source
JavaScript files (if available) rather than compressed versions:

    http://127.0.0.1:8112/?dev=true

[ssl cert]: http://www.yatblog.com/2007/02/27/how-to-create-a-ssl-certificate/