From dd357f0cb2ce6877e80711f11f1ba74ca4a4872d Mon Sep 17 00:00:00 2001 From: Administrator Date: Tue, 3 Jan 2023 13:01:39 +0900 Subject: [PATCH] By default insecure TLS v1 and v1.1 are now disabled This disables TLS 1.0 and 1.1 to be disabled by default. To allow them, you can override this option with an empty string. --- src/echo-server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/echo-server.ts b/src/echo-server.ts index 069335c2..751a7eaf 100644 --- a/src/echo-server.ts +++ b/src/echo-server.ts @@ -30,7 +30,7 @@ export class EchoServer { port: 6001, protocol: "http", socketio: {}, - secureOptions: constants.SSL_OP_NO_TLSv1, + secureOptions: constants.SSL_OP_NO_TLSv1 | constants.SSL_OP_NO_TLSv1_1, sslCertPath: '', sslKeyPath: '', sslCertChainPath: '',