- http://expressjs.com/en/api.html
- https://stackoverflow.com/questions/9024783/how-to-force-node-js-express-js-to-https-when-it-is-running-behind-an-aws-load-b
- http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/x-forwarded-headers.html
-
https://stackoverflow.com/questions/10175812/how-to-create-a-self-signed-certificate-with-openssl
-
http://blog.mgechev.com/2014/02/19/create-https-tls-ssl-application-with-express-nodejs/
Create the key file and cert file
"C:\Program Files\Git\usr\bin\openssl.exe" req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 500
Remove the password from the key file
"C:\Program Files\Git\usr\bin\openssl.exe" rsa -in key.pem -out newkey.pem