You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[DOCS] Gateway TLS settings in the CLI configuration #1071
The CLI can now reach a gateway behind a private CA or one that requires mutual TLS, through gateway.tls (inference-gateway/cli#1673, closing inference-gateway/cli#1672). The CLI page of the docs site should list the new settings.
gateway.tls.ca_file (INFER_GATEWAY_TLS_CA_FILE) is documented as a CA bundle trusted for gateway calls on top of the system roots
gateway.tls.cert_file and gateway.tls.key_file (INFER_GATEWAY_TLS_CERT_FILE, INFER_GATEWAY_TLS_KEY_FILE) are documented as the client certificate for a gateway that requires mTLS, set together
The page links the gateway's mTLS settings (SERVER_TLS_CLIENT_CA_PATH, gateway v0.61.0) and the operator's spec.server.tls.clientCARef (operator v0.31.0) as the server side
Still relevant, and the issue's facts match the code. Cloned inference-gateway/cli and read the real implementation rather than trusting the issue text:
internal/gateway/tls.go - ca_file is added to the system roots (systemRootsWith), cert_file/key_file are rejected unless both are set, paths go through ExpandHome, and unloadable material returns a failingTransport that fails every request with the cause instead of falling back.
New ### Gateway TLS section: the YAML example, a table of the three settings with their env vars, the scope (every gateway call, daemon workers inherit), ~ expansion, the set-both-or-neither rule, and the fail-loudly behavior.
Three env vars added to "Essential Environment Variables", plus one pointer bullet under Gateway Settings.
All three acceptance criteria are covered. 33 added lines, one file, no new page - CLI features stay inside cli.md per the repo convention, so no sidebar change was needed.
Skipped: no bun run preview eyeball pass (content-only change, no nav/theme edit) and I did not verify the two cross-page anchors render as links in the built HTML - I only grepped that the headings exist in configuration.md and operator.md. Risk: if either heading is retitled later, those links rot silently since the build does not check them.
| Branch
Activity
edenreich commentedon Nov 1, 2026
@claude can you document this? use /ponytail:ponytail check first if it's still relevant with the code.
inference-gateway-maintainer commentedon Nov 1, 2026
Claude finished @edenreich's task in 2m 41s —— View job •
docs/issue-1071-20261101-1846• Create PR ➔Documented
gateway.tlson the CLI pagegateway.tlsis still currentcli.mdConfiguration sectionlint:md,format:check,build- all passRelevance check (ponytail, full)
Still relevant, and the issue's facts match the code. Cloned
inference-gateway/cliand read the real implementation rather than trusting the issue text:internal/gateway/tls.go-ca_fileis added to the system roots (systemRootsWith),cert_file/key_fileare rejected unless both are set, paths go throughExpandHome, and unloadable material returns afailingTransportthat fails every request with the cause instead of falling back.cmd/runtime/env_overrides_test.go- confirmsINFER_GATEWAY_TLS_CA_FILE,INFER_GATEWAY_TLS_CERT_FILE,INFER_GATEWAY_TLS_KEY_FILEmap ontocfg.Gateway.TLS(config.PeerTLSConfig).What changed in
cli.md### Gateway TLSsection: the YAML example, a table of the three settings with their env vars, the scope (every gateway call, daemon workers inherit),~expansion, the set-both-or-neither rule, and the fail-loudly behavior.SERVER_TLS_CLIENT_CA_PATH(v0.61.0) ->/configuration/#mutual-tls, operatorspec.server.tls.clientCARef(v0.31.0) ->/operator/#mutual-tls-clientcaref-and-spec-client-tls.All three acceptance criteria are covered. 33 added lines, one file, no new page - CLI features stay inside
cli.mdper the repo convention, so no sidebar change was needed.Skipped: no
bun run previeweyeball pass (content-only change, no nav/theme edit) and I did not verify the two cross-page anchors render as links in the built HTML - I only grepped that the headings exist inconfiguration.mdandoperator.md. Risk: if either heading is retitled later, those links rot silently since the build does not check them.| Branch
inference-gateway-releaser commentedon Nov 8, 2026
🎉 This issue has been resolved in version 0.9.24 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀