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] Document mutual TLS for the gateway server and provider clients #1060
inference-gateway/inference-gateway#818 adds mutual TLS to the gateway, in both directions. The user-facing change is four new environment variables that need documenting.
As a server:
SERVER_TLS_CLIENT_CA_PATH - CA bundle that signs accepted client certificates. Setting it makes a client certificate mandatory and verified, so a request without one fails the TLS handshake. It requires SERVER_TLS_CERT_PATH and SERVER_TLS_KEY_PATH to be set, and the gateway refuses to start otherwise.
As a client of its providers:
CLIENT_TLS_CA_PATH - extra CA bundle trusted for provider calls, added on top of the system roots rather than replacing them (unlike the process-wide SSL_CERT_FILE workaround).
CLIENT_TLS_CERT_PATH / CLIENT_TLS_KEY_PATH - client certificate and key presented to providers that require mutual TLS. One without the other is a startup error.
Affected pages: the configuration reference (the Server settings and Client settings tables), and whichever TLS / security page covers SERVER_TLS_CERT_PATH today. A short "mutual TLS" section showing an inbound mTLS gateway plus a provider behind mTLS would be worth adding.
Check the request is still relevant - yes. All four variables are in the canonical inference-gateway/schemas OpenAPI config section on main, with the same semantics the issue describes, and no page in this repo mentioned them.
Update the configuration reference (Server + Client settings tables and the full .env block)
Add a "Mutual TLS" section
Validate: bun run lint:md, bun run format:check, bun run build, bun test - all pass
All in configuration.md - that page is the only place that documents SERVER_TLS_CERT_PATH for the gateway today (there is no separate gateway TLS/security page), so adding one would have been a new page nobody asked for.
Server settings: SERVER_TLS_CLIENT_CA_PATH, noting it makes a client certificate mandatory and verified and that it requires the server cert and key or the gateway refuses to start.
Client settings: CLIENT_TLS_CA_PATH (added on top of the system roots), CLIENT_TLS_CERT_PATH / CLIENT_TLS_KEY_PATH (one without the other is a startup error).
A "Mutual TLS" section with both directions in one env block plus the matching curl --cert call, and a line under Client Settings on trusting an internal CA instead of the process-wide SSL_CERT_FILE workaround.
The Server/Client tables are hand-written, not inside GENERATED:* markers, so no regeneration was needed - confirmed by regenerating against the live schema and seeing no diff in generated sections.
Downstream: filed inference-gateway/operator#314 - the operator's spec.server.tls has no client-CA or outbound client-certificate field, so an operator-managed gateway cannot enable mTLS declaratively yet.
Skipped: no change to operator.md (the operator cannot configure these yet) or to the ADK pages, which document their own separate A2A_SERVER_TLS_* / ADK CLIENT_TLS_* variables. Not verified against a running gateway - the behavior described comes from the schema descriptions and the issue, so if the gateway's handshake-failure or startup-validation details differ, the wording follows the schema.
| Branch | PR #1066
Activity
edenreich commentedon Nov 1, 2026
@claude can you document this? use /ponytail:ponytail first check if it's still relevant.
inference-gateway-maintainer commentedon Nov 1, 2026
Claude finished @edenreich's task in 2m 59s —— View job •
docs/issue-1060-20261101-1318• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-1060-20261101-1318?quick_pull=1&title=Issue%20%231060%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%231060%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Documented mutual TLS
inference-gateway/schemasOpenAPI config section onmain, with the same semantics the issue describes, and no page in this repo mentioned them..envblock)bun run lint:md,bun run format:check,bun run build,bun test- all passWhat changed
All in
configuration.md- that page is the only place that documentsSERVER_TLS_CERT_PATHfor the gateway today (there is no separate gateway TLS/security page), so adding one would have been a new page nobody asked for.SERVER_TLS_CLIENT_CA_PATH, noting it makes a client certificate mandatory and verified and that it requires the server cert and key or the gateway refuses to start.CLIENT_TLS_CA_PATH(added on top of the system roots),CLIENT_TLS_CERT_PATH/CLIENT_TLS_KEY_PATH(one without the other is a startup error).curl --certcall, and a line under Client Settings on trusting an internal CA instead of the process-wideSSL_CERT_FILEworkaround.The Server/Client tables are hand-written, not inside
GENERATED:*markers, so no regeneration was needed - confirmed by regenerating against the live schema and seeing no diff in generated sections.Downstream: filed inference-gateway/operator#314 - the operator's
spec.server.tlshas no client-CA or outbound client-certificate field, so an operator-managed gateway cannot enable mTLS declaratively yet.Skipped: no change to
operator.md(the operator cannot configure these yet) or to the ADK pages, which document their own separateA2A_SERVER_TLS_*/ ADKCLIENT_TLS_*variables. Not verified against a running gateway - the behavior described comes from the schema descriptions and the issue, so if the gateway's handshake-failure or startup-validation details differ, the wording follows the schema.| Branch | PR #1066
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 📦🚀