Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NodeJS v12 re-enable TLS 1.1, and 1.0

Node now supports TLS 1.3 which offers increased security and reduced latency.

By implementing TLS 1.3, Node apps will have increased end-user privacy while also improving the performance of requests by reducing the time required for the HTTPS handshake.

TLS 1.0 and 1.1 have been disabled by default, and the crypto library has removed deprecated functions.

Is there a way to re-enable 1.0, and 1.1 in anyway?

like image 678
Hemm K Avatar asked Jul 22 '19 17:07

Hemm K


1 Answers

The solution: Run Node with the --tls-min-v1.0 command line argument.

Reference: GitHub issue #27384: --tls-v1.0 flag doesn't work on Node v12.

like image 150
Paul Avatar answered Oct 16 '22 18:10

Paul