From 3bfd4a9652218c722ff3348593bccd52dc5a7387 Mon Sep 17 00:00:00 2001 From: Whispering Wind <151555003+ReturnFI@users.noreply.github.com> Date: Sat, 10 Aug 2024 00:20:09 +0330 Subject: [PATCH] TLSv1_2 --- core/scripts/singbox/singbox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/scripts/singbox/singbox.py b/core/scripts/singbox/singbox.py index c670d71..6d173bb 100644 --- a/core/scripts/singbox/singbox.py +++ b/core/scripts/singbox/singbox.py @@ -113,7 +113,7 @@ if __name__ == '__main__': ssl_context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER) ssl_context.load_cert_chain(certfile=CERTFILE, keyfile=KEYFILE) - ssl_context.minimum_version = ssl.TLSVersion.TLSv1_1 + ssl_context.minimum_version = ssl.TLSVersion.TLSv1_2 ssl_context.set_ciphers('AES256+EECDH:AES256+EDH') web.run_app(app, port=PORT, ssl_context=ssl_context)