项目作者: captn3m0

项目描述 :
Node package to find the OS-installed root CA certificates. This uses the same location list as golang
高级语言: JavaScript
项目地址: git://github.com/captn3m0/find-root-ca-cert.git
创建时间: 2019-04-18T14:33:38Z
项目社区:https://github.com/captn3m0/find-root-ca-cert

开源协议:MIT License

下载


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

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

Supported Platforms

  1. 'aix', 'freebsd', 'linux', 'openbsd', 'sunos'

Unsupported Platforms

  1. 'ios', 'darwin', 'win32'

License

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