summaryrefslogtreecommitdiff
path: root/test/simple/test-https-strict.js
Commit message (Collapse)AuthorAgeFilesLines
* test updates for streams2isaacs2012-12-141-0/+1
|
* tls, https: validate server certificate by defaultBen Noordhuis2012-09-151-0/+3
| | | | | | | | | | | | | | | 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.
* https: Use host header as effective servernameisaacs2012-07-251-0/+218