Skip to content

Commit 55a9fc6

Browse files
sargunvclaude
andauthored
container: set DENO_CERT alongside SSL_CERT_FILE for Deno CA trust (#16)
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>
1 parent 65cdecd commit 55a9fc6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/container/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ export class ContainerClient {
8989
const combinedPath = buildCombinedCaBundle(config.caCertificate);
9090
if (combinedPath) {
9191
args.push("-e", "SSL_CERT_FILE=/tmp/onecli-combined-ca.pem");
92+
// DENO_CERT: Deno does not respect SSL_CERT_FILE, it has its own env var
93+
args.push("-e", "DENO_CERT=/tmp/onecli-combined-ca.pem");
9294
args.push("-v", `${combinedPath}:/tmp/onecli-combined-ca.pem:ro`);
9395
}
9496
}

0 commit comments

Comments
 (0)