You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Nemo 17d0086aeb
Create FUNDING.yml
1 year ago
.github Create FUNDING.yml 1 year ago
.gitignore Initial Commit 4 years ago
.npmignore ignore files for dist 2 years ago
LICENSE Initial Commit 4 years ago
README.md Support more platforms 2 years ago
index.js Support more platforms 2 years ago
package.json version bump 2 years ago
paths.js Support more platforms 2 years ago
test.js Initial Commit 4 years ago

README.md

find-root-ca-cert

Node package to find the OS-installed root CA certificates. This uses the same location list as go. Based upon this this answer on ServerFault.

Installation

npm install --save find-root-ca-cert

Usage

const certFinder = require("find-root-ca-cert");
certFinder.findCAPath();
// /etc/ssl/certs/ca-certificates.crt
certFinder.findCABundle();
// /etc/ssl/certs/ca-certificates.crt

Supported Platforms

'aix', 'freebsd', 'linux', 'openbsd', 'sunos'

Unsupported Platforms

'ios', 'darwin', 'win32'

License

Licensed under the MIT License. See LICENSE file for details.