From 2b3afa3ec0b5d2627eb6988052be69ec0ee4f778 Mon Sep 17 00:00:00 2001 From: Francisco Pombal Date: Fri, 27 Dec 2019 13:01:16 +0000 Subject: [PATCH] Fixup previous change --- ...-up-HTTPS-with-Let's-Encrypt-certificates.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/Linux-WebUI-setting-up-HTTPS-with-Let's-Encrypt-certificates.md b/Linux-WebUI-setting-up-HTTPS-with-Let's-Encrypt-certificates.md index 3e0dd4c..3805791 100644 --- a/Linux-WebUI-setting-up-HTTPS-with-Let's-Encrypt-certificates.md +++ b/Linux-WebUI-setting-up-HTTPS-with-Let's-Encrypt-certificates.md @@ -49,13 +49,16 @@ Refer to the [documentation][certbot-docs-cmd-opt] for more info 2. On the Tools -> Options... menu, go to the Web UI tab. 3. In the "Server domains:" field put `yourwebuidomain.duckdns.org` 4. Tick the "Use HTTPS instead of HTTP" checkbox -5. a) If using version `4.2.0` or later: - - In the "Key:" text box paste the _path_ of the key file. - - In the "Certificate:" text box paste the _path_ of the certificate file. - - IMPORTANT NOTE: since the directory where these files usually are located (for example, `/etc/letsencrypt/live/yourwebuidomain.duckdns.org/`) is usually only readable by `root`, you may first need to copy the files somewhere that is readable by the user account that is running qBittorrent. Do not change the permissions of the original `certbot` directories. -5. b) If using older versions: - - In the "Key:" text box paste the _contents_ of the key file (for example, `/etc/letsencrypt/live/yourwebuidomain.duckdns.org/privkey.pem`). You may need root privileges to access this file. - - In the "Certificate:" text box paste the _contents_ of the certificate file (for example, `/etc/letsencrypt/live/yourwebuidomain.duckdns.org/fullchain.pem`). You may need root privileges to access this file. +5. + - If using version `4.2.0` or later: + - In the "Key:" text box paste the _path_ of the key file. + - In the "Certificate:" text box paste the _path_ of the certificate file. + - **Important Note**: since the directory where these files are located (for example, `/etc/letsencrypt/live/yourwebuidomain.duckdns.org/`) is usually only readable by `root`, you may first need to copy the files somewhere that is readable by the user account that qBittorrent is running under. Do not change the permissions of the original `certbot` directories. + + - If using older versions: + - In the "Key:" text box paste the _contents_ of the key file (for example, `/etc/letsencrypt/live/yourwebuidomain.duckdns.org/privkey.pem`). You may need root privileges to access this file. + - In the "Certificate:" text box paste the _contents_ of the certificate file (for example, `/etc/letsencrypt/live/yourwebuidomain.duckdns.org/fullchain.pem`). You may need root privileges to access this file. + 6. Click save, close the tab and now you should only be able to access your Web UI via HTTPS. # Automating certificate renewal