Kavach

Fix · Express / Node

Fix “TLS protocol strength” on Express / Node

Allow only TLS 1.2 and 1.3; disable TLS 1.0/1.1 and weak ciphers.

// https.createServer({ minVersion: 'TLSv1.2',
//   cert, key }, app)  -- or set it on your TLS terminator.

Verify the fix

Re-run the TLS protocol strength check after deploying. Test config changes in staging first and keep a rollback: a wrong header can break a site faster than a missing one.

Other stacks: nginx · Apache · Caddy · Cloudflare

Scan your site free → Monitor it continuously