lab-host.toml.example: ca_bundle pointed at client CA (wg-ca.pem) instead of Caddy root — shipper TLS handshake fails #14
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
During k-gamingcom bring-up, the shipper failed with
[SSL: CERTIFICATE_VERIFY_FAILED] unable to get local issuer certificateeven after mTLS leaf certs were installed.What happened
lab-host.toml.examplesets:The
ca_bundlefield is used byShipperTransportto verify the server's TLS certificate oncollector.wg. That cert is signed by the Caddy Local Authority (etc/caddy-root.crt). Butwg-ca.pem(from the bootstrap tarball) is the CIS490 Lab-Host Client CA — the receiver's trust anchor for the client cert, not ours.Fix
Changed
ca_bundleto/opt/cis490/etc/caddy-root.crt(the Caddy root bundled in the repo) inetc/lab-host.toml.example. Fixed inDev_REL2_043026@786b8da.Also corrected the comment:
wg-ca.pemis the receiver's trust anchor for the client cert, not the shipper's server-verification bundle.Verified
After fix:
shipper --pingreturns{"ok": true, "status_code": 200}and episodes ship with201 Created.Related
Dev_REL2_043026@786b8daCherry-picked
786b8daonto main as part of the merge train. Verified: ca_bundle now points at /opt/cis490/etc/caddy-root.crt (Caddy server CA, used by the shipper to verify collector.wg's TLS cert). Comment expanded to clarify the wg-pki client CA's role on the receiver side.