Wtf 2
This commit is contained in:
parent
5d73f2e182
commit
a13a7c671a
|
@ -104,7 +104,7 @@ class Netty(private val tls: ServerSettings.TlsCert, private val clientSettings:
|
||||||
val (mainCert, chainCert) = getX509Certs(tls.certificate)
|
val (mainCert, chainCert) = getX509Certs(tls.certificate)
|
||||||
val sslContext = SslContextBuilder
|
val sslContext = SslContextBuilder
|
||||||
.forServer(getPrivateKey(tls.privateKey), mainCert, chainCert)
|
.forServer(getPrivateKey(tls.privateKey), mainCert, chainCert)
|
||||||
.protocols("TLSv1.3", "TLSv1.2", "TLSv1.1", "TLSv1.0")
|
.protocols("TLSv1.3", "TLSv1.2", "TLSv1.1", "TLSv1")
|
||||||
.build()
|
.build()
|
||||||
|
|
||||||
val bootstrap = ServerBootstrap()
|
val bootstrap = ServerBootstrap()
|
||||||
|
|
Loading…
Reference in a new issue