TLS and authorization

  • Identify who opens TLS, owns credentials and authorizes the requested operation.
100%

Istio transport concepts · alternative provider TLS owners

Application-originated TLS · HTTP remains inside application encryptionProxy-originated TLS · application sends visible HTTP to the selected proxyChoose the TLS origin; authentication does not grant an operationRequest / responseControl / stateopaque TLSsame TLS sessiondecrypted requestvisible HTTPproxy TLS sessiondecrypted requestThe application owns the TLS context, provider trust and any required client certificate. Its HTTPS payload remains opaque to a forwarding sidecar unless another endpoint deliberately terminates that application TLS session.ApplicationTLS clientForwarding can provide transport routing but cannot match URL paths or HTTP headers encrypted inside this application TLS session. Mesh encryption, when present on a separate hop, does not replace provider TLS validation.Proxy forwardsopaque TLSThe provider terminates application-originated TLS. Required peer identity, trust and hostname/SAN checks belong to that session. One-way TLS validates the server; client-certificate authentication requires a mutual-authentication contract.ProviderTLS endpointAn authenticated TLS peer is not automatically permitted to invoke every operation. The provider still applies its token, role, tenant and business-resource authorization contract.OperationauthorizationThe application deliberately sends visible HTTP to the chosen proxy path. Sending application HTTPS into an additional TLS-origination profile can create unintended nested TLS.ApplicationHTTP clientThe proxy can apply configured HTTP policy before it opens the upstream TLS session. Destination TLS settings govern this origin connection. In mesh traffic, PeerAuthentication controls accepted peer transport, while AuthorizationPolicy controls allowed actions.Proxy policy +TLS originationThe provider sees the TLS client identity presented by the originating proxy when mutual authentication is required. That identity and its trust/certificate lifecycle are distinct from the application user token and mesh workload identity.ProviderTLS endpointThe request must still satisfy the provider operation policy after transport authentication. JWT validation establishes token claims; a policy requiring the expected authenticated principal and permitted operation must still be defined at the appropriate enforcement boundary.Operationauthorizationopaque TLSsame TLS sessiondecrypted requestvisible HTTPproxy TLS sessiondecrypted request

Select a component to trace its direct connections. Drag to pan · Ctrl + wheel or pinch to zoom.

  • On the upper path the application opens TLS to the provider. The sidecar sees an encrypted byte stream. On the lower path the application sends HTTP to the proxy, which starts TLS and validates the provider using its configured trust settings.
  • For mutual TLS, the component opening TLS presents its configured client certificate. The component authorizing a business operation still has to check whether the authenticated caller may perform it.
Visible HTTP and TLS ownership

Visible HTTP and TLS ownership

  • JVM HTTPS remains opaque to an HTTP forwarding proxy.
  • Proxy TLS origination starts a separate external TLS session and requires the proxy to own its credentials and trust.
Authentication and authorization

Authentication and authorization

  • JWT verification and a policy requiring an authenticated principal have different responsibilities.
  • Workload principal, JWT principal and external certificate identity are separate inputs.
  • An ALLOW policy requires inventory of all intended business, probe and diagnostic paths.