From b149efed5b0328c740964cfe85cb87837c2fa5e5 Mon Sep 17 00:00:00 2001 From: Gabriel Herbert Date: Mon, 9 Sep 2024 23:27:29 +0200 Subject: [PATCH] TLS min. version, fallback for older installations --- r3.go | 1 + 1 file changed, 1 insertion(+) diff --git a/r3.go b/r3.go index 0ddc2b3a..2a6e1ecb 100644 --- a/r3.go +++ b/r3.go @@ -517,6 +517,7 @@ func (prg *program) execute(svc service.Service) { GetCertificate: cache.GetCert, } switch config.File.Web.TlsMinVersion { + case "": // prior to 3.8.4, defaults to not apply min. TLS version case "1.1": prg.webServer.TLSConfig.MinVersion = tls.VersionTLS11 case "1.2":