Use TLS instead of SSLv3
This fixes a potential security risk and connection problems with clients that don't support SSLv3 anymore. Closes: #772040
This commit is contained in:
parent
0511cb1dcf
commit
89dbb2d223
|
@ -40,7 +40,7 @@ timeout=100000
|
|||
|
||||
class ChainedOpenSSLContextFactory(ssl.DefaultOpenSSLContextFactory):
|
||||
def __init__(self, privateKeyFileName, certificateChainFileName,
|
||||
sslmethod = SSL.SSLv3_METHOD):
|
||||
sslmethod = SSL.TLSv1_METHOD):
|
||||
"""
|
||||
@param privateKeyFileName: Name of a file containing a private key
|
||||
@param certificateChainFileName: Name of a file containing a certificate chain
|
||||
|
|
Loading…
Reference in New Issue