3.4.0 • Published 8 years ago

windows-certs v3.4.0

Weekly downloads
83
License
MIT
Repository
github
Last release
8 years ago

Read certificates from the Windows Cert Store from node.js.

Installation

npm i windows-certs

Usage

var certs = require('windows-certs');

certs.get({
  storeName: 'CertificateAuthority',
  storeLocation: 'LocalMachine'
}, function (err, certs) {
   console.log(certs);
});

The returned object certs is a object like this:

{
  "subject": "CN=hello.com, O=Internet Widgits Pty Ltd, S=Some-State, C=AU",
  "issuer": "foo bar",
  "thumbprint": "...",
  "pem": "-----BEGIN CERTIFICATE-----\nMIID9DCCAtygAwIBAgIJANWBEUdUZOlPMA0GCSqGSIb3DQEBBQUAMFkxCzAJBgNV..."
}

See also MSDN documentation on:

License

MIT 2015 - José F. Romaniello

3.4.0

8 years ago

3.3.0

8 years ago

3.2.0

8 years ago

3.1.0

9 years ago

3.0.0

9 years ago

2.0.1

9 years ago

2.0.0

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago