You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: support SSL_CERT_FILE for TLS certificate configuration
Node.js only reads NODE_EXTRA_CA_CERTS at process startup, so setting
SSL_CERT_FILE (which the CLI maps to NODE_EXTRA_CA_CERTS internally)
had no effect on the parent process's TLS connections. This caused
"unable to get local issuer certificate" errors for users behind
corporate proxies with SSL inspection (e.g. Cloudflare).
The fix manually reads the certificate file and passes the combined
CA certificates (root + extra) to HTTPS agents:
- SDK calls: HttpsAgent or HttpsProxyAgent with ca option
- Direct fetch calls: falls back to node:https.request with custom agent
- Child processes (Coana CLI): already worked via constants.processEnv
0 commit comments