mirror of https://github.com/lukechilds/node.git
Browse Source
This commit changes the default value of the rejectUnauthorized option from false to true. What that means is that tls.connect(), https.get() and https.request() will reject invalid server certificates from now on, including self-signed certificates. There is an escape hatch: if you set the NODE_TLS_REJECT_UNAUTHORIZED environment variable to the literal string "0", node.js reverts to its old behavior. Fixes #3949.v0.9.2-release
38 changed files with 131 additions and 24 deletions
Loading…
Reference in new issue