From a13a7c671adf5ba15fb0127956c2f85acbe76ce8 Mon Sep 17 00:00:00 2001 From: carbotaniuman <41451839+carbotaniuman@users.noreply.github.com> Date: Tue, 9 Jun 2020 14:35:45 -0500 Subject: [PATCH] Wtf 2 --- src/main/kotlin/mdnet/base/Netty.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/mdnet/base/Netty.kt b/src/main/kotlin/mdnet/base/Netty.kt index b9bccd6..89bd097 100644 --- a/src/main/kotlin/mdnet/base/Netty.kt +++ b/src/main/kotlin/mdnet/base/Netty.kt @@ -104,7 +104,7 @@ class Netty(private val tls: ServerSettings.TlsCert, private val clientSettings: val (mainCert, chainCert) = getX509Certs(tls.certificate) val sslContext = SslContextBuilder .forServer(getPrivateKey(tls.privateKey), mainCert, chainCert) - .protocols("TLSv1.3", "TLSv1.2", "TLSv1.1", "TLSv1.0") + .protocols("TLSv1.3", "TLSv1.2", "TLSv1.1", "TLSv1") .build() val bootstrap = ServerBootstrap()