Join our Newsletter — 33% off our NHI Course
Home FAQ Authentication, Authorisation & Trust Why do application load balancers create protocol friction…
Authentication, Authorisation & Trust

Why do application load balancers create protocol friction for TLS routing compared with a direct TCP path?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated September 17, 2026 Domain: Authentication, Authorisation & Trust

Application load balancers inspect HTTP at layer 7, which helps with routing and certificate termination, but they also change the connection shape. Once TLS is terminated at the balancer, protocol details needed by the backend can be stripped or hidden. For systems that depend on client certificates, ALPN, or SNI, that loss of end to end visibility can break normal TLS routing unless the protocol is tunneled carefully.

Why TLS routing becomes awkward once an application load balancer terminates the connection

An application load balancer makes routing decisions by looking into HTTP, not by preserving the original transport path end to end. That gives you richer policy, but it also changes the TLS conversation in ways a direct TCP path does not. The practical result is that the backend no longer receives the same connection metadata, so routing logic that depends on protocol signals has less to work with.

That is why the trade-off is not just “L7 is smarter than L4.” It is “L7 is smarter only after it has taken ownership of the session.” Once the balancer terminates TLS, it may rewrite or hide details that the next hop would otherwise use to decide how to behave. For routing outcomes that depend on handshake attributes, the load balancer becomes part of the protocol design, not just a forwarding device.

Direct TCP keeps the TLS session intact between client and backend, so the server can still see handshake features that matter to it. With an application load balancer, the backend usually sees a new connection created by the balancer, not the client’s original TLS session. That difference explains why some architectures work cleanly in TCP mode but become brittle when they are moved to HTTP-aware routing.

  • Client certificate flows can break because mutual TLS information is no longer preserved for backend inspection.
  • ALPN-based decisions can fail because the negotiated protocol is resolved at the balancer, not downstream.
  • SNI-dependent routing can become less reliable if the balancer terminates TLS before the backend can use the hostname signal.

For practitioners, the key distinction is whether the backend needs to see the client’s original handshake or only the decrypted request. If it needs handshake context, an application load balancer can introduce protocol friction even when the HTTP request itself still looks normal.

What a direct TCP path preserves that L7 termination often removes

A direct TCP path preserves end-to-end transport semantics. The backend receives the same TLS session the client initiated, so protocol negotiation remains visible at the endpoint that actually enforces the policy. That matters when the application, proxy, or sidecar uses the handshake as part of authorization, routing, or service selection.

In contrast, an application load balancer converts the interaction into two separate legs. The first leg is client to balancer, where TLS may be terminated and HTTP examined. The second leg is balancer to backend, where a fresh connection is established and may not carry the same identity or negotiation context. If the backend depends on workload identity and mTLS semantics, preserving the original handshake path becomes especially important.

This is also why direct TCP is often the simpler choice for TLS pass-through designs, service meshes, and protocols that are sensitive to negotiation state. If the routing decision belongs at the transport layer, forcing the traffic through HTTP-aware termination adds a translation step that can alter the meaning of the connection.

Where TLS routing is part of a broader identity or certificate strategy, the handshake metadata is not incidental. It is the control point. Once that control point moves to the balancer, the backend can no longer make the same trust decision from the same evidence.

That pattern is reflected in broader machine identity guidance as well, including the need for better machine identity management and the operational reality that certificate handling must be consistent across the full request path. The direct path keeps the trust signal intact; the application path may deliberately abstract it away.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0, CIS Controls v8, NIST Zero Trust (SP 800-207) and NIST SP 800-63 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST CSF 2.0PR.AC — Access Control ManagementTLS routing choices affect how access decisions are enforced across trust boundaries.
Recommendation — Align termination and routing design with PR.AC so trust decisions remain enforceable at the correct hop.
CIS Controls v86 — Access Control ManagementTLS termination can change how authentication and access control signals reach backends.
Recommendation — Use CIS Control 6 to preserve least-privilege access enforcement where handshake context matters.
NIST Zero Trust (SP 800-207)SC-10 — Network AccessDirect TCP versus terminated TLS changes the trust boundary and communication path.
Recommendation — Apply SC-10 to keep protocol paths aligned with the trust decisions they must support.
NIST SP 800-63C — Digital Identity AssuranceClient certificate and negotiation context affect assurance at the connection boundary.
Recommendation — Use NIST 800-63 assurance principles when TLS evidence is part of the identity decision.
OWASP Non-Human Identity Top 10NHI-01 — Secrets and Credential ExposureBackend TLS routing can depend on certificate material and other identity-bearing secrets.
Recommendation — Protect certificate and secret handling so termination points do not weaken downstream trust.

Practitioner Guidance

What to verify: Confirm whether the backend actually needs the original client certificate, SNI, or ALPN value, or whether it only needs the HTTP request after termination. If the answer is the former, treat L7 termination as a design constraint, not a convenience.

Decision rule: Use an application load balancer when request inspection and HTTP-aware routing are the priority, but prefer TCP passthrough when handshake state is part of the security or routing decision. Do not assume the same architecture supports both without extra protocol handling.

What practitioners underestimate: The friction usually appears later, during certificate rollout, protocol upgrades, or backend reconfiguration. An architecture that looks fine in a basic test can fail when handshake-dependent routing, mutual TLS enforcement, or protocol negotiation becomes operationally significant.

Practitioner takeaway: The trade-off is not just performance or convenience, it is where the trust decision lives. If the backend must participate in TLS semantics, preserve end-to-end visibility; if not, let the balancer terminate and centralise the routing logic.

Deepen Your Knowledge

Sign up to our weekly newsletter — get 33% off our NHI Foundation Level Course

    NHIMG Editorial Note
    Reviewed and updated by the NHIMG editorial team on September 17, 2026.
    NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org