config
SSL client cannot find issuer certificate locally
UNABLE_TO_GET_ISSUER_CERT_LOCALLY|unable to get local issuer certificate
Fixes
- 1.Install the CA certificate bundle: apt install ca-certificates && update-ca-certificates
- 2.Set the CA bundle path in your client: NODE_EXTRA_CA_CERTS=/path/to/ca-bundle.crt
- 3.For Node.js, pass ca option to https.request() with the custom CA certificate
sslCAtrust-store
Related Errors
config3 fixes
Nginx 502 Bad Gateway - upstream unavailable
502 Bad Gateway|upstream prematurely closed connection
- •Verify the upstream server is running and listening on the expected address/port
- •Increase proxy_read_timeout and proxy_connect_timeout for slow backends
config3 fixes
Nginx 504 Gateway Timeout
504 Gateway Time-?out|upstream timed out.*reading response
- •Increase proxy_read_timeout (default 60s): proxy_read_timeout 300s
- •Optimize the backend endpoint that's taking too long to respond
config3 fixes
Nginx redirect loop
rewrite or internal redirection cycle|return 301.*too many redirects
- •Check for conflicting rewrite rules that redirect back and forth (HTTP→HTTPS→HTTP)
- •Use 'return 301' instead of 'rewrite' for simple redirects to avoid rule interaction