Author: damoxc
Revision: 5494
Log:
use the same ssl key and certificate as the daemon (will add the option
to specify a different one later)
Diff:
Modified: trunk/deluge/ui/web/server.py
===================================================================
--- trunk/deluge/ui/web/server.py 2009-07-15 18:56:41 UTC (rev 5493)
+++ trunk/deluge/ui/web/server.py 2009-07-16 08:58:05 UTC (rev 5494)
@@ -384,8 +384,8 @@
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):
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---