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 82f3f61 commit beb7090Copy full SHA for beb7090
lib/socket.js
@@ -92,7 +92,7 @@ function Socket (uri, opts) {
92
this.cert = opts.cert || null;
93
this.ca = opts.ca || null;
94
this.ciphers = opts.ciphers || null;
95
- this.rejectUnauthorized = opts.rejectUnauthorized === undefined ? null : opts.rejectUnauthorized;
+ this.rejectUnauthorized = opts.rejectUnauthorized === undefined ? true : opts.rejectUnauthorized;
96
this.forceNode = !!opts.forceNode;
97
98
// other options for Node.js client
0 commit comments