docs: fix TLS passthrough curl CA guidance and troubleshooting #9778
<span aria-hidden="true">✅</span> Deploy Preview for cerulean-figolla-1f9435 ready!
| Name | Link |
|:-:|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | cf2052608849fd17b469553198c0c576bf6dc6c2 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/projects/cerulean-figolla-1f9435/deploys/6abe057e7c42dc0008b1d6eb |
|<span aria-hidden="true">😎</span> Deploy Preview | https://deploy-preview-9778--cerulean-figolla-1f9435.netlify.app |
|<span aria-hidden="true">📱</span> Preview on mobile | <details><summary> Toggle QR Code... </summary><br /><br />!QR Code<br /><br />_Use your smartphone camera to open QR code link._</details> |
---
<!-- cerulean-figolla-1f9435 Preview -->
_To edit notification comments on pull requests, go to your Netlify project configuration._
<sub><sub>!P2 Badge</sub></sub> Restart the sample server after replacing its certificate
When a user follows this branch after replacing the sample certificates, this pipeline updates the mounted Secret but does not restart the existing passthrough-echoserver Pod. The Deployment in examples/kubernetes/tls-passthrough.yaml runs echo-basic with certificate paths supplied at startup, so its TLS listener continues presenting the previously loaded keypair and the subsequent curl check still fails. Add a rollout restart and wait for the Deployment after applying the replacement Secret.
Useful? React with 👍 / 👎.
<sub><sub>!P2 Badge</sub></sub> Qualify the claim that trusting the leaf always fails
This newly added absolute claim is false for common TLS backends: with the exact certificates generated earlier, the original --cacert passthrough.example.com.crt command succeeds with curl 8.5.0 backed by OpenSSL 3.0.13 because an explicitly trusted leaf can serve as the trust anchor. Using the issuing CA remains better and more portable guidance, but diagnosing the issuer error solely from use of the leaf can send users away from its actual cause; describe this as backend-dependent rather than saying it will fail.
Useful? React with 👍 / 👎.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a52e86ca1f
<details> <summary>ℹ️ About Codex in GitHub</summary>
<br/>
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
</details>
Addressed the review notes: qualified the leaf-as---cacert guidance as backend-dependent (CA remains the portable recommendation), and added a rollout restart + status wait after replacing the sample server-certs Secret so the echoserver reloads the keypair.
@codex review
please fix DCO
<sub><sub>!P2 Badge</sub></sub> Update the client trust anchor for replacement certificates
When the replacement chain is rooted in a CA other than the sample example.com.crt, installing the leaf and intermediates in the Secret is insufficient because both test commands still pass the unrelated sample CA to --cacert, and step 1 explicitly tells users to keep doing so. The inspected curl 8.5.0 --manual says --cacert uses the specified certificate file to verify the peer and alters the default CA file, so this workflow can continue reporting an unknown issuer after the documented server-side fix. Tell users to omit --cacert for a publicly trusted chain or point it at the replacement chain's root/appropriate CA bundle.
Useful? React with 👍 / 👎.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 644c32475c
<details> <summary>ℹ️ About Codex in GitHub</summary>
<br/>
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
</details>
Updated the troubleshooting section to explicitly distinguish trust anchors:
@codex review
<sub><sub>!P2 Badge</sub></sub> Keep the leaf-certificate guidance backend-dependent
The qualification added in the preceding tab is undone here: this still says the CA “must” be used, although the sample request succeeds with --cacert passthrough.example.com.crt on curl 8.5.0 with OpenSSL 3.0.13 because that backend accepts the explicitly trusted leaf as a trust anchor. Users on such backends are therefore told that a working invocation is invalid; fresh evidence in the current revision is this remaining absolute wording in the second tab. Describe the CA as the preferred portable choice rather than mandatory.
Useful? React with 👍 / 👎.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 45b9eb9b9e
<details> <summary>ℹ️ About Codex in GitHub</summary>
<br/>
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
</details>
This pull request has been automatically marked as stale because it has not had activity in the last 30 days. Please feel free to give a status update now, ping for review, when it's ready. Thank you for your contributions!
CI fix: docs-lint broken link
Root cause (unrelated to this PR's doc change): docs-check-links failed on a site-wide external adopter URL:
[503] https://presence.decionis.com/developers
from site/data/ecosystem.yaml (Presence adopter). This was a flaky 503 from the external host (returns 200 intermittently); not introduced by the TLS passthrough markdown.
Fix: Rebased onto current main to pick up #10125 (chore: ignore presence.decionis.com), which already adds presence.decionis.com to LINKINATOR_IGNORE.
cf2052608849fd17b469553198c0c576bf6dc6c2site/content/en/latest/tasks/security/tls-passthrough.md
VedantMadane
Use the CA cert (not the leaf) with
--cacertin both testing tabs, and add a short troubleshooting section forunable to get local issuer certificateunder TLS passthrough.Fixes #5630