mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 22:21:22 -07:00
Update troubleshooting doc for UNABLE_TO_GET_ISSUER_CERT_LOCALLY (#16069)
This commit is contained in:
@@ -43,9 +43,15 @@ topics on:
|
|||||||
- **Cause:** You may be on a corporate network with a firewall that intercepts
|
- **Cause:** You may be on a corporate network with a firewall that intercepts
|
||||||
and inspects SSL/TLS traffic. This often requires a custom root CA
|
and inspects SSL/TLS traffic. This often requires a custom root CA
|
||||||
certificate to be trusted by Node.js.
|
certificate to be trusted by Node.js.
|
||||||
- **Solution:** Set the `NODE_EXTRA_CA_CERTS` environment variable to the
|
- **Solution:** First try setting `NODE_USE_SYSTEM_CA`; if that does not
|
||||||
absolute path of your corporate root CA certificate file.
|
resolve the issue, set `NODE_EXTRA_CA_CERTS`.
|
||||||
- Example: `export NODE_EXTRA_CA_CERTS=/path/to/your/corporate-ca.crt`
|
- Set the `NODE_USE_SYSTEM_CA=1` environment variable to tell Node.js to use
|
||||||
|
the operating system's native certificate store (where corporate
|
||||||
|
certificates are typically already installed).
|
||||||
|
- Example: `export NODE_USE_SYSTEM_CA=1`
|
||||||
|
- Set the `NODE_EXTRA_CA_CERTS` environment variable to the absolute path of
|
||||||
|
your corporate root CA certificate file.
|
||||||
|
- Example: `export NODE_EXTRA_CA_CERTS=/path/to/your/corporate-ca.crt`
|
||||||
|
|
||||||
## Common error messages and solutions
|
## Common error messages and solutions
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user