From c0413f3e29e9148aa8b27943d5d13fa5bc62c061 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Fri, 19 Oct 2018 23:39:46 +0200 Subject: [PATCH] doc: NODE_EXTRA_CA_CERTS is ignored if setuid root Fixes: https://github.com/nodejs/node/issues/22081 --- doc/api/cli.md | 3 +++ doc/node.1 | 3 +++ 2 files changed, 6 insertions(+) diff --git a/doc/api/cli.md b/doc/api/cli.md index a99190c0b47170..957697e31bbe9b 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`