Allows connection to incorrect SSL certificates.
This commit is contained in:
parent
c3ef051657
commit
7ed9adaf49
@ -57,6 +57,7 @@ exports = module.exports = function (args) {
|
||||
return match[1].toUpperCase();
|
||||
});
|
||||
if (fnName in exports) {
|
||||
process.env.NODE_TLS_REJECT_UNAUTHORIZED = 0;
|
||||
return exports[fnName](args.slice(1));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user