Set to use TLSv1 instead of SSLv3

This commit is contained in:
Rob Fuller 2016-03-11 22:29:33 -05:00
parent 4906e7dbb7
commit 7be76336d6

View file

@ -286,7 +286,7 @@ class SSLSock(ThreadingMixIn, TCPServer):
from OpenSSL import SSL
BaseServer.__init__(self, server_address, RequestHandlerClass)
ctx = SSL.Context(SSL.SSLv3_METHOD)
ctx = SSL.Context(SSL.TLSv1_METHOD)
cert = os.path.join(settings.Config.ResponderPATH, settings.Config.SSLCert)
key = os.path.join(settings.Config.ResponderPATH, settings.Config.SSLKey)