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_CERTandHOD_TLS_KEY, so no reverse proxy is needed. Without them it serves plain http, for a proxy in front: then setHOD_TRUSTED_PROXIESto 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_FILEandSSL_CERT_DIRpoint elsewhere. A machine with no CA bundle at all (a statichod-runneron a bare host) gets the Mozilla roots built into Hod instead, with a warning.