(Node Distribution) A carefully curated collection of Root Certificates for validating the trustworthiness of SSL certificates while verifying the identity of TLS hosts.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.editorconfig
.gitattributes
.gitignore
.npmrc
.travis.yml
cacert.pem
index.js
license
package.json
readme.md
test.js

readme.md

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)
}, () => {});