14.5.15 • Published 6 years ago
certifi v14.5.15
certifi
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 --save certifi
Usage
var fs = require('fs');
var https = require('https');
var certifi = require('certifi');
console.log(certifi);
//=> /User/sindresorhus/node-certifi/cacert.pem
https.createServer({
cert: fs.readFileSync(certifi)
}, function () {});