Skip to content
Sections
>> Trisquel >> パッケージ >> etiona >> web >> node-crypto-cacerts
etiona  ] [  nabia  ]
[ ソース: node-crypto-cacerts  ]

パッケージ: node-crypto-cacerts (0.1.0-1)

updates SSL certificate chain to use a directory of certificates

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, one 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.

Usage:

 require('./crypto-cacerts').cryptoPatch("/etc/ssl/certs");

This will use all of the certificates in your OpenSSL certificates directory.

Node.js is an event-based server-side JavaScript engine.

その他の node-crypto-cacerts 関連パッケージ

  • 依存
  • 推奨
  • 提案
  • dep: nodejs
    evented I/O for V8 javascript

node-crypto-cacerts のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 3.8 kB16 kB [ファイル一覧]