Skip to content

fix: set DENO_CERT for Deno-based tools in combined CA bundle#16

Open
sargunv wants to merge 1 commit intoonecli:mainfrom
sargunv:deno-cert-support
Open

fix: set DENO_CERT for Deno-based tools in combined CA bundle#16
sargunv wants to merge 1 commit intoonecli:mainfrom
sargunv:deno-cert-support

Conversation

@sargunv
Copy link
Copy Markdown

@sargunv sargunv commented Apr 3, 2026

Deno does not respect SSL_CERT_FILE — it has its own DENO_CERT environment variable for trusting custom CA certificates. When the OneCLI gateway is active and combineCaBundle is enabled, Deno-based tools running in the container (e.g. linear-cli) fail with UnknownIssuer certificate errors because the gateway's CA is not trusted.

This sets DENO_CERT to the same combined CA bundle path as SSL_CERT_FILE, so Deno tools work alongside Node.js, curl, Python, etc.

Generated with Claude Code

Deno does not respect SSL_CERT_FILE and requires its own DENO_CERT env
var to trust custom CA certificates. Without this, Deno-based tools
(e.g. linear-cli) fail with certificate errors when the gateway's MITM
CA is in use.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant