From 53eed02a4f420ddf9c46ccf0aea62c2125e08672 Mon Sep 17 00:00:00 2001 From: Gary Sharp Date: Wed, 8 Feb 2023 16:52:28 +1100 Subject: [PATCH] globally enable TLS1.2 --- Disco.Web/Global.asax.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Disco.Web/Global.asax.cs b/Disco.Web/Global.asax.cs index d1b95f1d..54def877 100644 --- a/Disco.Web/Global.asax.cs +++ b/Disco.Web/Global.asax.cs @@ -24,6 +24,8 @@ namespace Disco.Web protected void Application_Start() { + ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12; + if (AppConfig.InitializeDatabase()) { // Database Initialized