Skip to content

avin/certs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published