--- rpcserver.py.ORIG   2016-11-10 20:11:59.870067384 +0000
+++ rpcserver.py        2016-11-10 20:12:39.995081128 +0000
@@ -131,7 +131,8 @@
         SSL transport.
         """
         ssl_dir = deluge.configmanager.get_config_dir("ssl")
-        ctx = SSL.Context(SSL.SSLv3_METHOD)
+        ctx = SSL.Context(SSL.SSLv23_METHOD) 
+        ctx.set_options(SSL.OP_NO_SSLv2 | SSL.OP_NO_SSLv3) 
         ctx.use_certificate_file(os.path.join(ssl_dir, "daemon.cert"))
         ctx.use_privatekey_file(os.path.join(ssl_dir, "daemon.pkey"))
         return ctx
