mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 23:18:40 +00:00
add some logging showing pkey/cert locations when starting the webserver
This commit is contained in:
parent
2591845512
commit
6bb4d857c2
1 changed files with 3 additions and 0 deletions
|
@ -387,6 +387,9 @@ class ServerContextFactory:
|
||||||
"""Creates an SSL context."""
|
"""Creates an SSL context."""
|
||||||
ctx = SSL.Context(SSL.SSLv3_METHOD)
|
ctx = SSL.Context(SSL.SSLv3_METHOD)
|
||||||
deluge_web = component.get("DelugeWeb")
|
deluge_web = component.get("DelugeWeb")
|
||||||
|
log.debug("Enabling SSL using:")
|
||||||
|
log.debug("Pkey: %s", deluge_web.pkey)
|
||||||
|
log.debug("Cert: %s", deluge_web.cert)
|
||||||
ctx.use_privatekey_file(common.get_default_config_dir(deluge_web.pkey))
|
ctx.use_privatekey_file(common.get_default_config_dir(deluge_web.pkey))
|
||||||
ctx.use_certificate_file(common.get_default_config_dir(deluge_web.cert))
|
ctx.use_certificate_file(common.get_default_config_dir(deluge_web.cert))
|
||||||
return ctx
|
return ctx
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue