fix(dev): complete .vagent rename and point dev seed at /api/v1/agent (VA-66) #72
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/VA-66-dev-tooling-vagent-rename-cert-pin"
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?
Complete the VS-42 rename leftover and align the dev agent connect target with the real wire path.
Rename the tracked seed and template from the legacy MeshCentral names to the .vagent names the justfile already references: run/vervain-agent.msh -> run/vervain-agent.vagent and run/vervain-agent.msh.template -> run/vervain-agent.vagent.template. Before this,
just ensure-settings/ensure-settings-hosthit the missing-template branch and exited 1 because the on-disk files still used the old names.Update the dev template path from the legacy /agent.ashx to the current control path /api/v1/agent, and update the matching render echoes in both justfile recipes. The seed keeps targeting the dev API host (VERVAIN_SERVER_HOST=dev-vervain-server-app-dev) and the host-mode loopback (127.0.0.1), neither of which is a frontend host.
Document cert-pin behavior under TLS offload in the README: the pin is on the application-layer ServerID (SHA-384 of the server agent-root cert SPKI), verified by the server's RSA signature in the secondary handshake, not on the TLS transport cert. The TLS verifier (CapturingNoopVerifier) accepts any transport cert, so Traefik TLS termination for api.vervain.a8n.systems is transparent: the agent accepts the proxy cert at the transport layer and proves the backend ServerID end to end, so the pin passes regardless of where TLS terminates.
#VA-66