mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 06:58:42 +00:00
Force SSL3 connection
This commit is contained in:
parent
d9f2daa778
commit
addaefaf7b
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ class ServerContextFactory(object):
|
||||||
SSL transport.
|
SSL transport.
|
||||||
"""
|
"""
|
||||||
ssl_dir = deluge.configmanager.get_config_dir("ssl")
|
ssl_dir = deluge.configmanager.get_config_dir("ssl")
|
||||||
ctx = SSL.Context(SSL.SSLv23_METHOD)
|
ctx = SSL.Context(SSL.SSLv3_METHOD)
|
||||||
ctx.use_certificate_file(os.path.join(ssl_dir, "daemon.cert"))
|
ctx.use_certificate_file(os.path.join(ssl_dir, "daemon.cert"))
|
||||||
ctx.use_privatekey_file(os.path.join(ssl_dir, "daemon.pkey"))
|
ctx.use_privatekey_file(os.path.join(ssl_dir, "daemon.pkey"))
|
||||||
return ctx
|
return ctx
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue