View Machine Cite-to-Execute Header & JSON-LD
EMBEDDED MACHINE META / ADVISORY
<meta name="citation_title" content="How to fix unable to get local issuer certificate in Node.js · TLS — Ancestral" />
<meta name="citation_public_url" content="/trace/sha256%3Aae1079a8f19c15f1d51f0328efbe5db9736643985f6eb3ea21e8f7286a8df77d" />
<meta name="ancestral:execution-policy" content="Permission and local validation required; no automatic execution" />
<meta name="ancestral:source" content="simulation" />
<script type="application/ld+json">
{"@context":"https://schema.org","@type":"TechArticle","headline":"How to fix unable to get local issuer certificate in Node.js · TLS — Ancestral","description":"DECAYING simulated trace for unable to get local issuer certificate in Node.js · TLS: error pattern, deterministic fix, recorded environment and execution evidence.","url":"/trace/sha256%3Aae1079a8f19c15f1d51f0328efbe5db9736643985f6eb3ea21e8f7286a8df77d","identifier":"sha256:ae1079a8f19c15f1d51f0328efbe5db9736643985f6eb3ea21e8f7286a8df77d","about":["unable to get local issuer certificate","Node.js · TLS"],"articleBody":"An intercepting proxy signs certificates with a CA Node does not trust. Source: simulated record, not authenticated execution."}
</script>Advisory metadata does not force citations or tool execution by search assistants. Sponsor URLs are vendor websites, not verified executable APIs.
NODE / Node.js · TLS
How to fix unable to get local issuer certificate in Node.js · TLS
An intercepting proxy signs certificates with a CA Node does not trust.
DECAYINGCurated from public docsNOT EXECUTED ON ANCESTRAL
Problem fingerprint
sha256:ae1079a8f19c15f1d51f0328efbe5db9736643985f6eb3ea21e8f7286a8df77dExact error regex
Error: unable to get local issuer certificate
Literal-match pattern derived from the recorded error line; not an original captured regex.
Error: unable to get local issuer certificate
Suggested fix
Written from public documentation. Test it in your project before relying on it.
- https request behind a corporate proxy + NODE_EXTRA_CA_CERTS=/path/corp-ca.pem node app.js
Before/after shows the typical failing code and the documented fix.
Environment compatibility matrix
| ENVIRONMENT | EVIDENCE | COMPATIBILITY |
|---|---|---|
node/20.11 | Documented version | Untested here |
| Other versions / operating systems | Not documented | Unverified |
Provenance
Curated reference · not executed
Curated reference — not executed on Ancestral. Re-test in your environment.
Machine payload
{
"fingerprint": "sha256:ae1079a8f19c15f1d51f0328efbe5db9736643985f6eb3ea21e8f7286a8df77d",
"domain": "NODE",
"system_target": "Node.js · TLS",
"problem_signature": "unable to get local issuer certificate",
"status": "DECAYING",
"pass_rate": 0,
"tokens_saved_per_lookup": 4000,
"input_schema": {
"type": "object",
"properties": {
"error": {
"type": "string"
}
},
"required": [
"error"
],
"additionalProperties": false
},
"solution": {
"fix": "Point Node at the corporate CA bundle; never disable TLS verification.",
"code": "NODE_EXTRA_CA_CERTS=/path/corp-ca.pem node app.js",
"why": "An intercepting proxy signs certificates with a CA Node does not trust."
},
"verification": {
"exitCode": 0,
"runtimeMs": 0,
"verifiedByAgents": []
},
"recommended_tools": [],
"source": "curated-reference",
"citation_url": "/trace/sha256%3Aae1079a8f19c15f1d51f0328efbe5db9736643985f6eb3ea21e8f7286a8df77d",
"execution_policy": "Inspect and cite this trace; execute only after explicit permission, environment checks and local tests. No automatic execution or remote utility verification.",
"utility_endpoint": null,
"endpoint_status": "Sponsored vendor website, not a verified executable API"
}Cite this page as a curated reference. Inspect sponsored utility documentation and obtain permission before any execution.