mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 11:16:47 +00:00
Add support for TLS 1.2 for the benefit of load balancers performing health checks
This commit is contained in:
1 parent
097bedcb9b
commit
4d686484fd
1 file changed
+2
-1
+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 {
|
||||
|
||||
Reference in new issue
Block a user