cd certs
sh init.sh
cd ..
nvm install 16.18.1
node app.js
# Server starts successfully ...
The app doesn't start with versions 17.0.0 and afterwards
nvm install 17.0.0
node app.js
# Server fails with error:
# node:internal/tls/secure-context:65
# context.setCert(cert);
# ^
# Error: error:0A00018E:SSL routines::ca md too weak
# at node:internal/tls/secure-context:65:13
# at Array.forEach (<anonymous>)
cd certs
# Access the site using the client certificate created above.
curl -v -s -k --key snort-key.pem --cert snort-crt.pem https://localhost:4433