We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
rejectUnauthorized
true
1 parent a0e63fe commit 67ac4b7Copy full SHA for 67ac4b7
lib/socket.js
@@ -90,7 +90,7 @@ function Socket (uri, opts) {
90
this.cert = opts.cert || null;
91
this.ca = opts.ca || null;
92
this.ciphers = opts.ciphers || null;
93
- this.rejectUnauthorized = opts.rejectUnauthorized === undefined ? true : opts.rejectUnauthorized;
+ this.rejectUnauthorized = opts.rejectUnauthorized === undefined ? null : opts.rejectUnauthorized;
94
95
// other options for Node.js client
96
var freeGlobal = typeof global === 'object' && global;
0 commit comments