NODE_TLS_REJECT_UNAUTHORIZED=value
如果 value
等于 '0'
,则对 TLS 连接禁用证书验证。
这使得 TLS 和 HTTPS 不安全。
强烈建议不要使用此环境变量。
If value
equals '0'
, certificate validation is disabled for TLS connections.
This makes TLS, and HTTPS by extension, insecure. The use of this environment
variable is strongly discouraged.