From 2f03eaf76f8993a99343c4d975944e1635e6d98e Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Thu, 1 Nov 2012 01:29:33 -0700 Subject: [PATCH] doc: tls: rejectUnauthorized defaults to true after 35607f3a --- lib/tls.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tls.js b/lib/tls.js index 6966a281333..7894c27e20b 100644 --- a/lib/tls.js +++ b/lib/tls.js @@ -1043,13 +1043,13 @@ SecurePair.prototype.error = function() { // If true clients whose certificates are invalid for any reason will not // be allowed to make connections. If false, they will simply be marked as // unauthorized but secure communication will continue. By default this is -// false. +// true. // // // // Options: // - requestCert. Send verify request. Default to false. -// - rejectUnauthorized. Boolean, default to false. +// - rejectUnauthorized. Boolean, default to true. // - key. string. // - cert: string. // - ca: string or array of strings.