certifi

A carefully curated collection of Root Certificates for validating the trustworthiness of SSL certificates while verifying the identity of TLS hosts. It has been extracted from the Python Requests project


Keywords
ca, cert, certificate, pem, ssl, tls, https
License
MPL-2.0
Install
npm install certifi@14.5.15

Documentation

certifi Build Status

Certifi is a carefully curated collection of Root Certificates for validating the trustworthiness of SSL certificates while verifying the identity of TLS hosts. It has been extracted from the Python Requests project.

Install

$ npm install certifi

Usage

const fs = require('fs');
const https = require('https');
const certifi = require('certifi');

console.log(certifi);
//=> '/User/sindresorhus/node-certifi/cacert.pem'

https.createServer({
	cert: fs.readFileSync(certifi)
}, () => {});