From b53a82fd4c91b38d67f2731332ba205cc9c0e7f2 Mon Sep 17 00:00:00 2001 From: swee Date: Wed, 29 Jan 2025 19:06:46 -0800 Subject: [PATCH] Update server.py --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 7338e61..1470599 100644 --- a/server.py +++ b/server.py @@ -778,7 +778,7 @@ def ssl_session(sock): try: while opened: context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER) - context.minimum_version = ssl.TLSVersion.TLSv1 + context.minimum_version = ssl.TLSVersion.TLSv1_2 context.set_ciphers('DEFAULT:@SECLEVEL=0') context.load_cert_chain(ssl_cert, keyfile=ssl_pkey) print("Waiting for connection...")