Skip to content

Fix hardcode root cert store provider to None - #165

Open
SantanM wants to merge 1 commit into
OHDSI:developfrom
SantanM:tls-sequence
Open

Fix hardcode root cert store provider to None#165
SantanM wants to merge 1 commit into
OHDSI:developfrom
SantanM:tls-sequence

Conversation

@SantanM

@SantanM SantanM commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings July 24, 2026 01:57
@SantanM
SantanM requested a review from p-hoffmann as a code owner July 24, 2026 01:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the runtime’s TLS root certificate handling so that (when DENO_TLS_CA_STORE is not set) the system trust store is used by default, and the configured root cert store provider is passed into deno_fetch so fetch requests use it.

Changes:

  • Switch the default DENO_TLS_CA_STORE fallback from "mozilla" to "system".
  • Provide deno_fetch with an explicit root_cert_store_provider instead of leaving it as None.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
crates/deno_facade/cert_provider.rs Changes default CA store selection to prefer the system trust store.
crates/base/src/runtime/mod.rs Wires the computed root cert store provider into deno_fetch options.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread crates/deno_facade/cert_provider.rs
Comment on lines 1029 to 1032
deno_fetch::Options {
user_agent: "supabase-edge-runtime".to_string(),
root_cert_store_provider: None,
root_cert_store_provider: Some(_root_cert_store_provider),
unsafely_ignore_certificate_errors: None,
@SantanM SantanM changed the title use system trust store before denos own mozilla store Fix hardcode root cert store provider to None Jul 24, 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.

2 participants