From aa05a27d2842aacf5e0acc696b127503f6c38c3b Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Thu, 16 Jul 2009 08:58:05 +0000 Subject: [PATCH] use the same ssl key and certificate as the daemon (will add the option to specify a different one later) --- deluge/ui/web/server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deluge/ui/web/server.py b/deluge/ui/web/server.py index 5e49f51ea..fb4a6beea 100644 --- a/deluge/ui/web/server.py +++ b/deluge/ui/web/server.py @@ -384,8 +384,8 @@ class ServerContextFactory: def getContext(self): """Creates an SSL context.""" ctx = SSL.Context(SSL.SSLv3_METHOD) - ctx.use_privatekey_file(common.get_default_config_dir(os.path.join('ssl', 'web.key'))) - ctx.use_certificate_file(common.get_default_config_dir(os.path.join('ssl', 'web.crt'))) + ctx.use_privatekey_file(common.get_default_config_dir(os.path.join('ssl', 'daemon.pkey'))) + ctx.use_certificate_file(common.get_default_config_dir(os.path.join('ssl', 'daemon.cert'))) return ctx class DelugeWeb(component.Component):