0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/doc/api
Ben Noordhuis 35607f3a2d tls, https: validate server certificate by default
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.
2012-09-15 00:19:06 +02:00
..
_toc.markdown doc: remote the "recommended modules" section 2012-08-22 23:58:34 +02:00
addons.markdown doc: updated JavaScript casing where relevant 2012-05-26 19:34:13 +09:00
all.markdown doc: remote the "recommended modules" section 2012-08-22 23:58:34 +02:00
assert.markdown doc: update assert.doesNotThrow() docs 2012-08-29 02:36:22 +02:00
buffer.markdown docs: fix typo in Buffer#toJSON() docs 2012-09-09 11:15:45 -07:00
child_process.markdown doc: remove unused util from child_process 2012-08-12 00:08:43 +02:00
cluster.markdown cluster.worker description and examples ere missing from the top level of docs 2012-09-06 22:00:05 +02:00
crypto.markdown doc: Improve cross-linking in API docs markdown 2012-06-15 09:44:37 -07:00
debugger.markdown Merge remote-tracking branch 'ry/v0.6' into v0.6-merge 2012-03-03 23:38:52 -08:00
dgram.markdown add docs for socket/server/timer unref and ref 2012-07-23 18:31:31 +02:00
dns.markdown doc: improve dns module docs 2012-04-18 21:51:16 +02:00
documentation.markdown doc: Document JSON docs 2012-03-03 17:03:59 -08:00
domain.markdown doc: fix domains example 2012-07-30 19:15:46 +02:00
events.markdown events: make .listeners() return a copy 2012-07-27 20:28:51 +02:00
fs.markdown Merge remote-tracking branch 'ry/v0.8' into master 2012-09-12 15:13:07 -07:00
globals.markdown doc: document setTimeout / setInterval behavior 2012-07-01 20:09:55 +02:00
http.markdown Merge remote-tracking branch 'ry/v0.8' into master 2012-09-12 15:13:07 -07:00
https.markdown tls, https: validate server certificate by default 2012-09-15 00:19:06 +02:00
index.markdown
modules.markdown node: remove unused flags and files 2012-06-18 23:56:42 +02:00
net.markdown net: fix listen() regression, revert patches 2012-08-06 23:55:38 +02:00
os.markdown Fix #3407 os.tmpDir() 2012-06-12 19:08:47 -07:00
path.markdown path: add path.sep to get the path separator. 2012-05-01 15:19:37 +02:00
process.markdown Merge remote-tracking branch 'ry/v0.8' into master 2012-09-12 15:13:07 -07:00
punycode.markdown doc: add punycode.js documentation 2012-05-23 04:04:12 +02:00
querystring.markdown Merge remote-tracking branch 'ry/v0.6' into v0.6-merge 2012-03-03 23:38:52 -08:00
readline.markdown docs: update var names in readline docs to be consistent 2012-05-06 11:23:09 -07:00
repl.markdown repl: add a 'useColors' option to the repl 2012-03-27 18:00:59 -07:00
stdio.markdown doc: Improve cross-linking in API docs markdown 2012-06-15 09:44:37 -07:00
stream.markdown doc: Formatting and grammar on stream api doc 2012-07-07 09:53:33 -07:00
string_decoder.markdown doc: update string_decoder stability index to 3 2012-04-25 01:13:08 +02:00
synopsis.markdown doc refactor: synopsis 2012-02-29 16:04:54 -08:00
timers.markdown timers: implement setImmediate 2012-08-12 00:07:22 +02:00
tls.markdown tls, https: validate server certificate by default 2012-09-15 00:19:06 +02:00
tty.markdown tty: clarify that tty.setRawMode() has moved to process.stdin 2012-03-29 13:15:24 -07:00
url.markdown Merge remote-tracking branch 'ry/v0.6' into v0.6-merge 2012-05-04 15:12:47 -07:00
util.markdown doc: util.pump is deprecated. Use Stream.pipe 2012-08-06 08:23:11 -07:00
vm.markdown docs: add warning to vm module docs 2012-05-07 21:39:08 +02:00
zlib.markdown doc: Include zlib constants 2012-06-14 22:17:39 -07:00