HTTPS proxy for emulating secure connections in development.
# 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
# local network or any custom host
devhttps 443 80 192.168.1.101
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!