Setting Up SSL for qBittorrent Web Interface

Channel:
Subscribers:
14,500
Published on ● Video Link: https://www.youtube.com/watch?v=ib4RWNeiWjM



Duration: 3:49
6,335 views
27


#SSL #qBittorrent #PublicKeyInfrastructure

Full steps can be found at https://i12bretro.github.io/tutorials/0045.html

--------------------------------------------------------------------
Prerequisites
--------------------------------------------------------------------
   - A XCA PKI database  https://youtu.be/ezzj3x207lQ
 
--------------------------------------------------------------------
Create Your SSL Certificate
--------------------------------------------------------------------
   01. Launch XCA
   02. Open the PKI database if it is not already (File ≫ Open DataBase), enter password
   03. Click on the Certificates tab, right click on your Intermediate CA certificate
   04. Select New
   05. On the Source tab, make sure Use this Certificate for signing is selected
   06. Verify your Intermediate CA certificate is selected from the drop down
   07. Click the Subject tab
   08. Complete the Distinguished Name section
         internalName: qBittorrent SSL
         countryName: US
         stateOrProvinceName: Virginia
         localityName: Northern
         organizationName: i12bretro
         organizationUnitName: i12bretro Certificate Authority
         commonName: torrent.i12bretro.local
   09. Click the Generate a New Key button
   10. Enter a name and set the key size to at least 2048
   11. Click Create
   12. Click on the Extensions tab
   13. Select End Entity from the type list
   14. Click Edit next to Subject Alternative Name
   15. Add any DNS or IP addresses that the certificate will identify
   16. Update the validity dates to fit your needs
   17. Click the Key Usage tab
   18. Under Key Usage select Digital Signature, Key Encipherment
   19. Under Extended Key Usage select Web Server and Web Client Authentication
   20. Click the Netscape tab
   21. Select SSL Server
   22. Click OK to create the certificate
 
--------------------------------------------------------------------
Exporting Required Files
--------------------------------------------------------------------
   01. In XCA, click on the Certificates tab
   02. Right click the SSL certificate ≫ Export ≫ File
   03. Set the file name with a .crt extension and verify the export format is PEM (*.crt)
   04. Click OK
   05. Click the Private Keys tab
   06. Right click the private key generated for the SSL certificate ≫ Export ≫ File
   07. Set the file name with a .key extension and verify the export format is PEM private (*.pem)
   08. Click OK
 
--------------------------------------------------------------------
Setting Up qBittorrent
--------------------------------------------------------------------
   01. Download qBittorrent  https://www.qbittorrent.org/download.php
   02. Install qBittorrent
   03. Launch qBittorent and navigate to Tools ≫ Options
   04. Select Web UI from the left panel
   05. Set IP address field to *
   06. Set port to 8666
   07. Check the Web User Interface (Remote Control) box
   08. Check the Use HTTPS instead of HTTP box
   09. Click the folder icon next to the Certificate field and browse to the exported .crt file
   10. Click the folder icon next to the Key field and browse to the exported .key file
   11. Change to username and password fields so they are not the default values
   12. Check the Bypass authentication for clients in whitelisted IP subnets box
   13. Click the IP subnet whitelist... button
   14. Type in your LAN IP subnet and click the Add subnet button
   15. Click OK to close the LAN IP subnet window
   16. Click Apply
   17. Click OK
   18. Open a web browser
   19. Navigate to https://DNSorIP:8666
 


### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro







Tags:
Browser Based
Certificate Authority
Certificates
Encryption
HTTPS
Home Lab
How To
Install Guide
PKI
Public Key Infrastructure
QBittorrent
SSL
Self-Hosted
Self-Signed
Tutorial
Web Based
Web Based Tools
Windows
XCA
i12bretro