SSL_CERT_DIR=dir
如果启用了 --use-openssl-ca,这将覆盖并设置 OpenSSL 的包含受信任证书的目录。
【If --use-openssl-ca is enabled, this overrides and sets OpenSSL's directory
containing trusted certificates.】
请注意,除非显式设置子环境,否则此环境变量将被任何子进程继承,如果它们使用 OpenSSL,可能会导致它们信任与 Node 相同的证书颁发机构。
【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.】