Skip to content

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

Merged
guyb1 merged 1 commit intoonecli:mainfrom
sargunv:deno-cert-support
Apr 9, 2026
Merged

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

Conversation

@sargunv
Copy link
Copy Markdown
Contributor

@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>
@guyb1
Copy link
Copy Markdown
Contributor

guyb1 commented Apr 9, 2026

great catch @sargunv !
thanks for that

@guyb1 guyb1 merged commit 55a9fc6 into onecli:main Apr 9, 2026
3 checks passed
@sargunv sargunv deleted the deno-cert-support branch April 9, 2026 20:58
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