Skip to main content
Agentgateway supports TLS in two directions:
  • Listener TLS (tls) — TLS termination on the inbound listener. Clients connect over HTTPS/TLS.
  • Backend TLS (backendTLS) — TLS origination when connecting to upstream backends. Agentgateway establishes encrypted connections to backends.
Only TLS 1.2 and 1.3 are supported.

Listener TLS

Listener TLS is configured on binds[].listeners[]:
object
TLS configuration for the listener.

Backend TLS

Backend TLS is configured under binds[].listeners[].routes[].policies:
object
TLS configuration for connections to upstream backends.

Examples

Setting insecure: true disables all certificate verification. Only use this for local development or in fully trusted private networks. Never use it in production environments.
Listener TLS requires setting the protocol field on the listener to HTTPS. Routes under that listener will receive decrypted traffic.