mirror of
https://github.com/rembo10/headphones.git
synced 2026-07-22 08:53:59 +01:00
Expanded SSL Description
This commit is contained in:
@@ -396,7 +396,7 @@
|
|||||||
<label>Deluge SSL Certificate</label>
|
<label>Deluge SSL Certificate</label>
|
||||||
<input type="text" name="deluge_cert" value="${config['deluge_cert']}" size="30">
|
<input type="text" name="deluge_cert" value="${config['deluge_cert']}" size="30">
|
||||||
<small>Path to the certificate file. Make sure to use a valid certificate ("Issued To" field must match
|
<small>Path to the certificate file. Make sure to use a valid certificate ("Issued To" field must match
|
||||||
hostname).</small>
|
hostname) which is <em>not</em> the case with the default certificate. Path is usually <span style="font-family: monospace;">%appdata%\deluge\ssl</span> on Windows, <span style="font-family: monospace;">~/.config/deluge/ssl/</span> on Linux.</small>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<label>Deluge Password</label>
|
<label>Deluge Password</label>
|
||||||
|
|||||||
@@ -237,7 +237,7 @@ def _get_auth():
|
|||||||
|
|
||||||
if delugeweb_cert is None or delugeweb_cert.strip() == '':
|
if delugeweb_cert is None or delugeweb_cert.strip() == '':
|
||||||
deluge_verify_cert = False
|
deluge_verify_cert = False
|
||||||
logger.debug('Deluge: No SSL certificate configured')
|
logger.debug('Deluge: FYI no SSL certificate configured')
|
||||||
else:
|
else:
|
||||||
deluge_verify_cert = delugeweb_cert
|
deluge_verify_cert = delugeweb_cert
|
||||||
delugeweb_host = delugeweb_host.replace('http:', 'https:')
|
delugeweb_host = delugeweb_host.replace('http:', 'https:')
|
||||||
|
|||||||
Reference in New Issue
Block a user