Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/captn3m0/find-root-ca-cert
Node package to find the OS-installed root CA certificates. This uses the same location list as golang
https://github.com/captn3m0/find-root-ca-cert
ca-certificate ca-certificates file-finder linux npm package
Last synced: 28 days ago
JSON representation
Node package to find the OS-installed root CA certificates. This uses the same location list as golang
- Host: GitHub
- URL: https://github.com/captn3m0/find-root-ca-cert
- Owner: captn3m0
- License: mit
- Created: 2019-04-18T14:33:38.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-05-30T09:20:05.000Z (over 2 years ago)
- Last Synced: 2023-03-11T17:57:29.275Z (over 1 year ago)
- Topics: ca-certificate, ca-certificates, file-finder, linux, npm, package
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/find-root-ca-cert
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://serverfault.com/a/722646) on ServerFault.
## Installation
`npm install --save find-root-ca-cert`
## Usage
```js
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](https://nemo.mit-license.org/). See LICENSE file for details.