SSL_CERT_FILE=file
如果启用了 --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 file
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.】