mkdir certs
npm run ssl-keys --keydir="../certs/" --numdays=1825
- Set LOCALHOST_SSL_CERT and LOCALHOST_SSL_KEY to path of the generated files from the above step, e.g.
export
in startup scripts. Test byecho $LOCALHOST_SSL_CERT
. npm install
npm start