Skip to content

Commit

Permalink
Add support for TLS 1.2 for the benefit of load balancers performing …
Browse files Browse the repository at this point in the history
…health checks
  • Loading branch information
jon-signal committed May 23, 2024
1 parent 097bedc commit e59a1e9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ public NoiseWebSocketTunnelServer(final int websocketPort,

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 {
Expand Down

0 comments on commit e59a1e9

Please sign in to comment.