1.1.1 • Published 1 year ago

localhost-certs v1.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
1 year ago

Certificates for localhost development

Install

npm install localhost-certs

Install rootCA.crt or rootCA.pem in trusted root certificates

Password for root cert: 12345678

Example of usage

Configure your web dev-server

https = {
  key: fs.readFileSync('./node-modules/localhost-certs/files/server.key', 'utf8'),
  cert: fs.readFileSync('./node-modules/localhost-certs/files/server.crt', 'utf8'),
};

More