0.0.4 • Published 8 years ago

insecure v0.0.4

Weekly downloads
40
License
Unlicense
Repository
github
Last release
8 years ago

node-insecure

Accept insecure HTTPS certificates from a web server.

Installation

$ npm install insecure

Quick start

First you need to integrate insecure into your application.

const insecure = require('insecure');

To set the environment variable NODE_TLS_REJECT_UNAUTHORIZED to 0, call:

insecure();

console.log(process.env.NODE_TLS_REJECT_UNAUTHORIZED); // => '0'