From 95527c6682b61c2037c179b3b50395d0d7fbddc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Wed, 8 Mar 2023 21:14:42 +0100 Subject: [PATCH] cosmetic --- actor/src/udsactor/http/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actor/src/udsactor/http/server.py b/actor/src/udsactor/http/server.py index d561f8bd3..72aa26bba 100644 --- a/actor/src/udsactor/http/server.py +++ b/actor/src/udsactor/http/server.py @@ -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')