From 577258716a86f309027b8029ef62b621f8d007e0 Mon Sep 17 00:00:00 2001 From: carbotaniuman Date: Wed, 16 Feb 2022 21:51:05 -0600 Subject: [PATCH] Remove outdated TLS versions --- src/main/kotlin/mdnet/netty/ApplicationNetty.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/mdnet/netty/ApplicationNetty.kt b/src/main/kotlin/mdnet/netty/ApplicationNetty.kt index b208f1a..830a3df 100644 --- a/src/main/kotlin/mdnet/netty/ApplicationNetty.kt +++ b/src/main/kotlin/mdnet/netty/ApplicationNetty.kt @@ -175,7 +175,7 @@ class Netty( val certs = getX509Certs(tls.certificate) val sslContext = SslContextBuilder .forServer(getPrivateKey(tls.privateKey), certs) - .protocols("TLSv1.3", "TLSv1.2", "TLSv1.1", "TLSv1") + .protocols("TLSv1.3", "TLSv1.2") .build() val bootstrap = ServerBootstrap()