summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2018-10-19 23:39:46 +0200
committerAnna Henningsen <anna@addaleax.net>2018-10-24 12:24:23 +0200
commitcc750b71a15fce6fc825544fd9008ea3de4288cd (patch)
tree6d1697b118e0d48cbccecdd89f27cf0ef940e796 /doc
parent91431db9eb8fc8356d0b62756f36bebd5672ddce (diff)
downloadandroid-node-v8-cc750b71a15fce6fc825544fd9008ea3de4288cd.tar.gz
android-node-v8-cc750b71a15fce6fc825544fd9008ea3de4288cd.tar.bz2
android-node-v8-cc750b71a15fce6fc825544fd9008ea3de4288cd.zip
doc: NODE_EXTRA_CA_CERTS is ignored if setuid root
Fixes: https://github.com/nodejs/node/issues/22081 PR-URL: https://github.com/nodejs/node/pull/23770 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/cli.md3
-rw-r--r--doc/node.13
2 files changed, 6 insertions, 0 deletions
diff --git a/doc/api/cli.md b/doc/api/cli.md
index 06270219db..b6e42a5bc8 100644
--- a/doc/api/cli.md
+++ b/doc/api/cli.md
@@ -525,6 +525,9 @@ malformed, but any errors are otherwise ignored.
Note that neither the well known nor extra certificates are used when the `ca`
options property is explicitly specified for a TLS or HTTPS client or server.
+This environment variable is ignored when `node` runs as setuid root or
+has Linux file capabilities set.
+
### `NODE_ICU_DATA=file`
<!-- YAML
added: v0.11.15
diff --git a/doc/node.1 b/doc/node.1
index ad46d58d1f..4c97240ee7 100644
--- a/doc/node.1
+++ b/doc/node.1
@@ -302,6 +302,9 @@ If
is missing or misformatted, a message will be emitted once using
.Sy process.emitWarning() ,
but any errors are otherwise ignored.
+.Pp
+This environment variable is ignored when `node` runs as setuid root or
+has Linux file capabilities set.
.
.It Ev NODE_ICU_DATA Ar file
Data path for ICU (Intl object) data.