mirror of
https://github.com/dkmstr/openuds.git
synced 2024-12-22 13:34:04 +03:00
cosmetic
This commit is contained in:
parent
2c928fc210
commit
95527c6682
@ -159,7 +159,7 @@ class HTTPServerThread(threading.Thread):
|
||||
# self._server.socket = ssl.wrap_socket(self._server.socket, certfile=self.certFile, server_side=True)
|
||||
|
||||
context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
|
||||
# Disable TLSv1.0 and TLSv1.1, disable TLSv1.2, use only TLSv1.3
|
||||
# Disable TLSv1.0 and TLSv1.1, disable TLSv1.2, use only TLSv1.3
|
||||
context.options |= ssl.OP_NO_TLSv1 | ssl.OP_NO_TLSv1_1 | ssl.OP_NO_TLSv1_2
|
||||
|
||||
context.set_ciphers('ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-CCM:DHE-RSA-AES256-SHA256')
|
||||
|
Loading…
Reference in New Issue
Block a user