For AI agents: the complete documentation index is available at https://docs.hod.sh/llms.txt, the full documentation bundle is available at https://docs.hod.sh/llms-full.txt, and this page is available as Markdown at https://docs.hod.sh/self-hosting/tls.md.

TLS

hod and hod-runner refuse plain http:// to another machine, so tokens never cross a network in the clear. Use https, or --insecure-http (HOD_INSECURE_HTTP) on a network you trust, as the Compose file does on its own network.

  • On the server: HOD_TLS_CERT and HOD_TLS_KEY, so no reverse proxy is needed. Without them it serves plain http, for a proxy in front: then set HOD_TRUSTED_PROXIES to the proxy's address, so the audit log and logs show the client's address rather than the proxy's (Configuration).
  • On clients: --ca-cert FILE (HOD_CA_CERT) trusts a CA besides the system's, for a server with an internal certificate. The runner checks out through the server with it, and passes it on to steps that push.
  • Which roots: every connection Hod makes (the CLI and runners to the server; the server to forges, registries and git remotes) trusts the system's CA bundle, as git and curl do, so a company's TLS-inspecting proxy works once its CA is installed there. SSL_CERT_FILE and SSL_CERT_DIR point elsewhere. A machine with no CA bundle at all (a static hod-runner on a bare host) gets the Mozilla roots built into Hod instead, with a warning.