localhost-certs

1.1.1 • Public • Published

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.10latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.10
1.1.01
1.0.10
1.0.023

Package Sidebar

Install

npm i localhost-certs

Weekly Downloads

24

Version

1.1.1

License

MIT

Unpacked Size

10.2 kB

Total Files

12

Last publish

Collaborators

  • carcinogen75