From 5d50aa37d82d4208a37739e79edb5c43bfad122f Mon Sep 17 00:00:00 2001 From: D Tim Cummings Date: Sun, 3 Jan 2021 19:50:55 +1000 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20specify=20protocol=20version=20?= =?UTF-8?q?so=20that=20highest=20available=20protocol=20will=20be=20used?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit tlsv1 and tlsv1_1 are insecure, deprecated and no longer available on Ubuntu as of 20.04 --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 99ae7f5..3434cc9 100644 --- a/init.lua +++ b/init.lua @@ -106,7 +106,7 @@ function meta_preconnect:connect(_host, _port) if type(secure) == "table" then params = secure else - params = {mode = "client", protocol = "tlsv1"} + params = {mode = "client", protocol = "any"} end s = ssl.wrap(s, params)