self-signed-https
Creates a self-signed https server
Installation
npm install self-signed-https
Usage
A basic HTTPS hello world app written in express (paste into app.js):
var express = var selfSignedHttps = var app = app
You will need to run as root as it's listening on port 443 (change to a higher port like 3000 if you want to run without sudo):
sudo node app.js
Then, you can visit https://localhost in your web browser
License
MIT
Credits
Author: Geza Kovacs