Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 676 Bytes

readme.md

File metadata and controls

26 lines (17 loc) · 676 Bytes

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