Add support for TLS 1.2 for the benefit of load balancers performing health checks

This commit is contained in:
Jon Chambers authored and Jon Chambers committed 2024-05-23 08:31:23 -04:00
1 parent 097bedcb9b
commit 4d686484fd
1 file changed
+2 -1
@@ -73,7 +73,8 @@ public class NoiseWebSocketTunnelServer implements Managed {
sslContext = SslContextBuilder.forServer(tlsPrivateKey, tlsCertificateChain)
.clientAuth(ClientAuth.NONE)
.protocols(SslProtocols.TLS_v1_3)
// Some load balancers require TLS 1.2 for health checks
.protocols(SslProtocols.TLS_v1_3, SslProtocols.TLS_v1_2)
.sslProvider(sslProvider)
.build();
} else {