SSL_CERT_DIR=dir


如果启用了 --use-openssl-ca,或者在 macOS 和 Windows 以外的平台上启用了 --use-system-ca,这将覆盖并设置包含受信任证书的 OpenSSL 目录。

¥If --use-openssl-ca is enabled, or if --use-system-ca is enabled on platforms other than macOS and Windows, this overrides and sets OpenSSL's directory containing trusted certificates.

注意,除非显式设置子环境,否则任何子进程都会继承此环境变量,如果它们使用 OpenSSL,可能会导致它们信任与节点相同的 CA。

¥Be aware that unless the child environment is explicitly set, this environment variable will be inherited by any child processes, and if they use OpenSSL, it may cause them to trust the same CAs as node.