- run npm install
- node app.js
- Generate keys/certificate (see below)
- Install the generated certificate as an authority. E.g in firefox, Options->Preferences->Advanced->Certificates->View Certificates->Authorities->Import->Select .crt file in chrome: settings->show advanced settings->Manage Certificates (in HTTPS/SSL)->Authorities->Import->Select .crt file
cd keys
openssl genrsa -out cert.key 8192
openssl req -new -x509 -key cert.key -out cert.crt
put whatever you want or leave them blank when it asks you for country codes/names
node app.js -u username:password