NODE_USE_SYSTEM_CA=1
Node.js 使用系统存储中存在的受信任 CA 证书以及 --use-bundled-ca
选项和 NODE_EXTRA_CA_CERTS
环境变量。
¥Node.js uses the trusted CA certificates present in the system store along with
the --use-bundled-ca
option and the NODE_EXTRA_CA_CERTS
environment variable.
也可以使用 --use-system-ca
命令行标志启用此功能。当两者都设置时,--use-system-ca
优先。
¥This can also be enabled using the --use-system-ca
command-line flag.
When both are set, --use-system-ca
takes precedence.