Skip to content

docs: document NODE_EXTRA_CA_CERTS (2.8)#3081

Merged
bartlomieju merged 3 commits into
denoland:2.8from
lunadogbot:docs/2.8-node-extra-ca-certs
May 20, 2026
Merged

docs: document NODE_EXTRA_CA_CERTS (2.8)#3081
bartlomieju merged 3 commits into
denoland:2.8from
lunadogbot:docs/2.8-node-extra-ca-certs

Conversation

@lunadogbot
Copy link
Copy Markdown
Contributor

Summary

Adds NODE_EXTRA_CA_CERTS to the Special environment variables table on runtime/reference/env_variables.md, documenting the new Node-compat env var supported in Deno 2.8 (denoland/deno#33148).

  • Loaded at the root certificate store level, so it applies to native fetch(), Deno.connectTls(), and the Node polyfills node:https / node:tls.
  • Missing or invalid PEM files emit a warning (no hard error) — matches Node.js semantics.

Test plan

  • deno task serve — table renders, the new row aligns.

Adds NODE_EXTRA_CA_CERTS to the special-environment-variables table.
Notes that the certs are honored at the root store level by fetch(),
Deno.connectTls(), and Node compat APIs (node:https, node:tls), and
that missing/invalid files only warn — matching Node.js behavior.

Refs denoland/deno#33148
@crowlKats crowlKats changed the base branch from main to 2.8 May 5, 2026 11:44
Copy link
Copy Markdown
Contributor

@fibibot fibibot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. last_modified: 2025-12-19 is unchanged even though the PR adds a new documented runtime environment variable. Please bump the page frontmatter to the date this page is being updated so the freshness metadata stays accurate.

Resolves conflict with DENO_AUDIT_PERMISSIONS row added on 2.8; keeps
both new rows (NODE_EXTRA_CA_CERTS and DENO_AUDIT_PERMISSIONS) and the
wider column layout. last_modified was already bumped on 2.8.
…ariables.md

This page lists env vars as prose sections in addition to the table on
runtime/reference/env_variables.md; keep the two in sync.
@bartlomieju bartlomieju merged commit 78ed3c3 into denoland:2.8 May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants