devhttps
HTTPS proxy for emulating secure connections in development.
Usage
# grab npm by installing node.js
npm install -g devhttps
devhttps 1443 80
# then map your localhost:443 to your localhost:1443
# or directly..
sudo devhttps 443 80
How to let the Chrome display the green lock
First time you run devhttps
, it will generate the CA certificate (with its private key) under ./.devhttps.ca.crt
. Import it and mark it trusted then restart your browser.
Keep the private key safe!