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

This commit is contained in:
Jon Chambers 2024-05-22 15:51:31 -04:00 committed by Jon Chambers
parent 097bedcb9b
commit e59a1e9efd
1 changed files with 2 additions and 1 deletions

View File

@ -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 {