The goal is to run the HTTPS fascade for the HTTP local dev servers.
Just for the testing puposes inside of local network.
openssl genrsa -out key.pem
openssl req -new -key key.pem -out csr.pem
openssl x509 -req -days 9999 -in csr.pem -signkey key.pem -out cert.pem
rm csr.pem
npm install -g http-server
- Create ssl certificates
- Run
http-server -S