- Visit and install mkcert: https://github.com/FiloSottile/mkcert
- nodejs app like example
- create security folder
mkdir security
cd ./security
- create certificates and set the password
mkcert -install
mkcert -key-file key.pem -cert-file cert.pem localhost
- run the node app and access: https://localhost:3000