find-root-ca-cert

    1.0.1 • Public • Published

    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.

    Install

    npm i find-root-ca-cert

    DownloadsWeekly Downloads

    4

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    4.99 kB

    Total Files

    7

    Last publish

    Collaborators

    • captn3m0