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.】