Skip to content

docs: add internal CA sandbox troubleshooting#25198

Open
dvdksn wants to merge 4 commits into
docker:mainfrom
dvdksn:codex/internal-ca-troubleshooting
Open

docs: add internal CA sandbox troubleshooting#25198
dvdksn wants to merge 4 commits into
docker:mainfrom
dvdksn:codex/internal-ca-troubleshooting

Conversation

@dvdksn
Copy link
Copy Markdown
Contributor

@dvdksn dvdksn commented May 28, 2026

Summary

Add troubleshooting guidance for Docker Sandboxes users whose internal HTTPS inspection proxy requires a custom CA certificate inside the sandbox. The section covers repeatable setup with a sandbox kit, one-off setup for existing sandboxes, Node.js CA configuration, and policy log diagnostics.

Generated by Codex

@netlify
Copy link
Copy Markdown

netlify Bot commented May 28, 2026

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 8f3b32c
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6a1eac56951bc80008107ac5
😎 Deploy Preview https://deploy-preview-25198--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
@dvdksn dvdksn force-pushed the codex/internal-ca-troubleshooting branch from c0de444 to 2e69cb0 Compare May 28, 2026 12:06
Copy link
Copy Markdown

@docker-agent docker-agent left a comment

Choose a reason for hiding this comment

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

Assessment: 🟢 APPROVE

The new "API calls fail with a certificate error" troubleshooting section is well-structured and technically clear. Commands use correct console language hints, YAML blocks are properly formatted, and the instructions are actionable and accurate.

No hedge words, bold misuse, marketing language, missing front matter, or broken shortcodes were found. The addition matches the existing document's scope and character.

Comment thread content/manuals/ai/sandboxes/troubleshooting.md Outdated
@dvdksn dvdksn marked this pull request as ready for review May 28, 2026 13:37
@dvdksn dvdksn requested review from a team, byjrack and robmry May 28, 2026 13:38
Copy link
Copy Markdown

@docker-agent docker-agent left a comment

Choose a reason for hiding this comment

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

Assessment: 🟢 APPROVE

The added troubleshooting guidance for internal CA certificates is well-written and accurate. Both new sections follow Docker's documentation style guide: no AI-isms, correct command formatting, appropriate bold usage consistent with existing patterns, and accurate technical content (the kit file path mapping is correct). The content is appropriately scoped and no redirects are needed (new sections added to existing pages only).

Comment thread content/manuals/ai/sandboxes/customize/kit-examples.md
Comment thread content/manuals/ai/sandboxes/customize/kit-examples.md Outdated
Clarify that files/home/ maps to /home/agent/ so the cert path the
install command reads is explicit. Drop NODE_EXTRA_CA_CERTS, which
isn't needed once update-ca-certificates adds the cert to the system
trust store and could break Node by overriding the bundle with a single
file.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@dvdksn dvdksn requested a review from robmry June 2, 2026 10:00
Copy link
Copy Markdown

@docker-agent docker-agent left a comment

Choose a reason for hiding this comment

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

Assessment: 🔴 CRITICAL

One high-severity issue found in the added content: a dangling cross-reference to NODE_EXTRA_CA_CERTS in the kit example.

Comment thread content/manuals/ai/sandboxes/troubleshooting.md Outdated
Removes the NODE_EXTRA_CA_CERTS note that cross-referenced the kit
example. The kit example no longer sets that variable, so the reference
was dangling, and the system trust store install covers the common case.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@byjrack
Copy link
Copy Markdown

byjrack commented Jun 2, 2026

Sorry on the lag in review.

So we have 3 egress paths; forward, forward-bypass, and transparent.

In transparent I believe we would see the MITM proxy (their perimeter) TLS trust make it to any HTTP stack in the sandbox. For forward-bypass will the server hello be from our proxy or theirs?

So i would think we would focus this doc around detecting the specific issue so the fix can be be more precise. Makes me wonder if the transparent vs forward-bypass is going to create more ambiguity. If we can get all TLS to our proxy than our internal CA can mask their MITM CA.

Another thing i am thinking about is we need to stress with folks not to override internal env vars with their MITM. If they change the SSL_CERT_FILE etc to enable their injected cert list it will break ours when in forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants