It runs a local https server with authorized certs
npm install @kenystev/local-https-serverlocal-https-server is a CLI tool to provide an easy way to run a local HTTPS server with their valid certifications and port-forward the trafic to another server running locally.
Use the package manager npm to install local-https-server.
``bash`
npm install --save-dev @kenystev/local-https-server
`bashrun the server with default ports and auto-generated certs
local-https-server start
Note Make sure to add the
.certs directory to your .gitignore file in order to not expose your cerdentialsUtility commands
by default after installation, local-https-server automatically runs the pre-required commands to install deps and setup the certs, but if anything happens or accidentally you have deleted the
.certs directory created after installation then you can run independently the right commands:`bash
Install needed dependencies to generate the certifications
local-https-server install-depsGenerate the valid certifications to run HTTPS server and put them in .certs directory
local-https-server setup-certs
``Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.