Updates SSL certificate chain to use a directory of certificates.
Want to see pretty graphs? Log in now!
npm install crypto-cacerts
|5||downloads in the last day|
|26||downloads in the last week|
|108||downloads in the last month|
|Last Published By|
|Version||0.1.0 last updated a year ago|
|Keywords||SSL, crypto, cacerts, certificates, HTTPS|
Node has a set of trusted certificates compiled into it that is uses during SSL/HTTPS negotiations. The list of certificates can be replaced with user-specified certificates during the usage of the https module, but only for that particular https instance.
Sometimes, we need to use libraries that make the HTTPS calls deep within, and cannot modify the code. This module is designed to monkey patch the built-in crypto module and allow you to specify a directory of existing certificates that apply to all HTTPS connections that are made using the underlying crypto module.
This will use all of the certificates in your OpenSSL certificates directory.