Mutual TLS on a Network Load Balancer - What Decides a Connection After You Turn On Verify Mode
First Published:
Last Updated:
This article lists the factors that determine connection acceptance or rejection after configuring verify mode and a trust store, based on the wording found on the AWS documentation pages. We will differentiate between factors that are enforced by default, those that can be modified through configuration, and those not described in the documentation, clearly indicating the source (user guide, API reference, or blog post). Finally, a table compares mTLS on NLB and Application Load Balancer (ALB).
This article is based on documentation reviewed on December 4, 2026. This was the final day of re:Invent 2026 (November 30 to December 4, 2026), and the ELB documentation may change after the event. This article does not cover configuration steps, pricing, or guidance on selecting a load balancer.
Related articles on this site:
- AWS Elastic Load Balancing Decision Guide - Choosing and Operating Application, Network, and Gateway Load Balancers
- AWS Private CA Hierarchy Design - Root and Subordinate CAs, Revocation, Short-Lived Mode, and mTLS on ALB
- When Public Certificates Stop Carrying clientAuth - Where AWS Sends or Accepts Client Certificates, and What Each Path Says About Extended Key Usage
- AWS IAM Inbound Workload Federation - IAM Roles Anywhere, OIDC, and SPIFFE Converging on One Trust Policy Condition
Table of Contents
- 1. Scope and Assumptions
- 2. What NLB Mutual TLS Does
- 3. The Admission Order
- 4. Certificate Rules Enforced by Default
- 5. Behaviors You Can Change
- 6. Identity Filters
- 7. Revocation Checks
- 8. What Does Not Resume and What Does Not Reach the Targets
- 9. Logs, Metrics, and Limits
- 10. How NLB Mutual TLS Differs from ALB Mutual TLS
- 11. Frequently Asked Questions About NLB Mutual TLS
- 12. Summary
- 13. References
1. Scope and Assumptions
This chapter first defines the intended audience for this article, the scope of the discussion, the relevant documentation, the statement labels, and the terminology employed. The key conclusions are as follows:- The NLB's mTLS mode only supports two options:
offandverify. Thepassthroughoption available in ALB is not supported (Chapter 2). - The load balancer admits connections in the following order: chain to the trust store's CA, identity filter, and revocation check. If no filter is configured, the second step is bypassed (Chapter 3).
- By default, the load balancer verifies the EKU (Extended Key Usage) and KU (Key Usage) extensions of the leaf client certificate. If an EKU is present, the certificate must include
clientAuth; if a KU is present, it must include eitherdigitalSignatureorkeyAgreement. This check is not applied to certificates without these extensions. There is no field in the API'sMutualAuthenticationAttributesto disable this enforcement (Chapter 4). - The configuration page lists two optional behaviors: whether to accept expired certificates and whether to advertise the names of trusted CAs to the client (Chapter 5).
- The identity filter matches four fields using either
exactorprefixmatching, using an OR combination. The only available action isaccept; any certificate that does not match any of the filter criteria is rejected (Chapter 6). - Revocation checks are performed using CRLs only, and only PEM-formatted CRLs are accepted. According to the blog, CRLs are imported when you add them and are not read from Amazon S3 with each connection (Chapter 7).
- Listeners in mTLS verify mode do not resume sessions. TLS listeners that do not use mTLS can be resumed using PSK (Pre-Shared Key) or session tickets. The blog states that client certificate information is not passed to the target, although this information cannot be found in the user guide (Chapter 8).
- Listeners in verify mode are limited to a maximum of two per load balancer, and the limit cannot be increased. Access logs record the certificate's subject, validity period, serial number, and verification result, but do not include the issuer (Chapter 9).
1.1 Intended Audience
This article is intended for architects and operations engineers who want to verify clients using client certificates at an NLB's TLS listener. The use cases include IoT devices, APIs from partners, and TCP/TLS communication between services. The reader is assumed to be familiar with mTLS in ALB and is seeking to understand what is similar and different with NLB, what defaults are enforced, and what does not reach the targets, before trying it. We assume a basic understanding of X.509 certificates, Certificate Authorities (CAs), chains, and Certificate Revocation Lists (CRLs).1.2 What This Article Covers and What It Does Not
This article covers the rules that determine whether a listener in verify mode admits or rejects connections, and where those rules are documented.We will defer the following topics to existing content on this site:
- Selecting a load balancer and passing TLS through a TCP listener when you want the targets to verify certificates: Sections 7.1 and 7.3 of AWS Elastic Load Balancing Decision Guide.
- mTLS for ALB and designing the hierarchy of Certificate Authorities (CAs) for AWS Private CA: Chapters 7 and 8 of AWS Private CA Hierarchy Design.
- The process by which
clientAuthis removed from public CA certificates, along with the paths AWS uses to send and receive client certificates: When Public Certificates Stop Carrying clientAuth. - The definition of SPIFFE and how to bring SPIFFE identities to AWS: Chapter 5 of AWS IAM Inbound Workload Federation.
- What remains when resource sharing through RAM is stopped: Section 7.2 of Cross-Account Sharing by Service on AWS.
- Definitions related to mTLS and session resumption: Cryptography Glossary for Engineers.
We will not cover pricing, regional availability, steps for creating a trust store, methods for forging certificates, or techniques for bypassing filters.
1.3 Checked Date and Reviewed Materials
Checked date: 2026-12-04. The documents reviewed included the ELB NLB user guide (pages on mTLS, mTLS configuration, identity filters, access logs, CloudWatch metrics, quotas, listeners, target group attributes, trust store sharing, and document history), the ELB API reference, the corresponding pages in the ALB user guide, AWS What's New, and the announcement post on the AWS Networking & Content Delivery Blog.The AWS What's New announcement was released on 2026-11-19T08:00Z. The NLB user guide's document history also mentions mTLS on the same date (Stated). What's New and the blog word availability differently: What's New says AWS commercial Regions and the AWS GovCloud (US) Regions where NLB is available, and the blog says all AWS Regions where NLB is available. This article does not list Regions.
1.4 Statement Labels
This article puts one of the following four labels on each statement:| Label | Meaning |
|---|---|
| Stated | Information found in the ELB user guide, API reference, quota page, What's New section, or document history. The specific document will be noted in the text. |
| Blog | Information found exclusively in posts published on the AWS Networking & Content Delivery Blog (specifically the post dated 2026-11-19) and not found in the user guide. |
| Not stated | Information not found in the pages reviewed for this article. This does not constitute proof of non-existence. |
| Inference | Information derived from the descriptions on the pages, as interpreted by this article. |
The label Not stated is applied only to information that could not be found even after trying different search terms. Do not read Not stated as "not possible." This article will only state "not possible" when the source pages explicitly state that.
This article did not run an NLB of its own. All numbers and behavior described are based solely on the descriptions found on the pages and inferences drawn from those descriptions.
1.5 How Terms Are Used
- Verify Mode: A state where the listener's
MutualAuthenticationAttributesModeis set toverify. The load balancer verifies the client certificate. - Trust Store: An ELB resource containing a bundle of CA certificates and any CRLs. Used in conjunction with the listener.
- Leaf Certificate: The certificate at the end of the chain presented by the client. This is the client's own certificate.
- Admit: The load balancer accepts the connection and forwards it to the target. This is the word the pages use.
- Reject: The load balancer terminates the TLS connection.
2. What NLB Mutual TLS Does
This chapter examines NLB's mTLS mode, where its configuration is located, and the relationship between the trust store and the listener, referencing API documentation.2.1 Two Modes: off and verify
The NLB user guide's mTLS page states the following (Stated).Network Load Balancers support mutual TLS in verify mode only.
The
MutualAuthenticationAttributes section in the API reference documents the Mode values separately for each load balancer type (Stated).[Application Load Balancers] The possible values are off, passthrough, and verify.
[Network Load Balancers] The possible values are off and verify.
The default value for
Mode is off (Stated). The passthrough option for ALB allows the load balancer to pass the entire chain to the target via HTTP headers without verifying the certificate. NLB does not offer this mode. If you want the target to handle certificate validation, pass TLS through unchanged on a TCP listener rather than a TLS listener. This configuration is discussed in Section 7.1 of the published AWS Elastic Load Balancing Decision Guide.2.2 Six Fields in One Listener Structure
The user guide states that all mTLS settings for NLB are contained in theMutualAuthenticationAttributes structure of a listener (Stated). The following six fields are listed in the API reference:| Field | Type and Value | Determines |
|---|---|---|
Mode | off, verify (NLB) | Whether to verify the client certificate. |
TrustStoreArn | ARN | Which trust store to use for verification. |
IgnoreClientCertificateExpiry | Boolean | Whether to accept client certificates that have expired (see Section 5.1). |
AdvertiseTrustStoreCaNames | on, off | Whether to advertise the names of trusted CAs to clients (see Section 5.2). |
ClientCertificateIdentityFilters | Array of up to 100 filters | Which identities' certificates to accept (see Chapter 6). |
TrustStoreAssociationStatus | active, removed | The status of the association with the shared trust store (see Section 9.5). |
The API reference indicates that
ClientCertificateIdentityFilters is associated with [Network Load Balancers]. Filters can only be specified when Mode is set to verify (Stated).This table does not include fields for disabling the key usage check or selecting a certificate revocation checking method. Chapters 4 and 7 address these two features.
2.3 How Trust Stores Relate to Listeners
The configuration page for mTLS specifies that only one trust store can be associated with a single TLS listener, while a single trust store can be associated with multiple listeners (Stated). A trust store that is associated with a listener cannot be deleted (Stated).The trust store's certificate authority (CA) bundle is imported from PEM files stored in Amazon S3. Both
CreateTrustStore and ModifyTrustStore accept the S3 bucket, key, and optionally, the object version (Stated). The blog instructions assume that the CA bundle is placed in a private S3 bucket in the same Region (Blog).Each listener has its own filter. The blog states that even listeners sharing the same trust store can have different filters applied (Blog).
3. The Admission Order
This chapter describes in what order a verify mode listener checks what before it admits a connection.3.1 The Three-Step Order
The NLB user guide's mTLS page states the order in which the load balancer admits connections as follows (Stated).The load balancer admits a connection in the following order. First, it verifies that the client certificate chains to a certificate authority (CA) in the trust store. Next, it evaluates any client certificate identity filters that you configure, and admits only connections whose certificate matches at least one filter. Finally, it applies any revocation checks that you configure.
The identity filter page also states the same order (Stated).
The load balancer applies the filters after trust-store validation passes, and runs revocation checks after a certificate matches a filter.
In other words, the order is chain validation, identity filter, and revocation check. The blog also states that the order is trust chain validation, filtering, and CRL (Certificate Revocation List) check, and that the NLB does not look at the fields of untrusted certificates (Blog).
If neither filters nor CRLs are configured, the load balancer admits all certificates that have passed trust store validation. The API reference for
ClientCertificateIdentityFilters states that if no filters are specified, the load balancer admits all client certificates that have passed both trust store validation and revocation checks (Stated).3.2 Figure 1: How an NLB Admits a Client Certificate

tls_verify_status when a connection is rejected at each step. This article assigned the codes to steps from the code descriptions (Inference, Sections 3.3, 3.4, and 9.2).3.3 Matching Steps to Log Codes
The access log page lists 14 codes that may appear in thetls_verify_status field when a connection fails to be established (see Section 9.2). However, the page does not specify at which step each code appears (Not stated). The following codes can be tied to a step from their descriptions:- The description for
CertificateFilterNoMatchindicates that the connection failed because the certificate passed trust chain verification but did not match any of the configured identity filters. This code is associated with step 2 (Stated). - The description for
ClientCertCrlHitindicates that the client certificate has been revoked by the CA. This code is associated with step 3 (Inference). - The description for
ClientCertUntrustedindicates that the client certificate is not trusted. This code is associated with step 1 (Inference).
The access log page does not specify which codes appear when a client does not present a certificate (Not stated). According to the blog instructions, requests that do not present a certificate are rejected (Blog).
3.4 Which Step Checks Key Usage
The EKU and KU check, which Chapter 4 covers, is not part of the three-step sentence in Section 3.1. The mTLS page states that this check is performed during the TLS handshake, but it does not specify which of the three steps it belongs to (Not stated).The blog post describes the processing flow, stating that during the client certificate validation step, it verifies the chain to the trust store root, checks the expiration dates of all certificates in the chain, and also checks for the
clientAuth purpose in the EKU extension (Blog). Figure 1 follows the blog and places this check in step 1.4. Certificate Rules Enforced by Default
This chapter describes rules that are applied by default. The focus is on the Extended Key Usage (EKU) and Key Usage (KU) extensions of leaf certificates.4.1 EKU and KU on the Leaf
The NLB user guide's mTLS page states the following (Stated).By default, Network Load Balancers enforce the Extended Key Usage (EKU) and Key Usage (KU) extensions on the leaf client certificate during the TLS handshake:
The two conditions that follow are these (Stated).
- If the certificate includes an EKU extension, it must contain
clientAuth(OID1.3.6.1.5.5.7.3.2). - If the certificate includes a KU extension, it must contain either
digitalSignatureorkeyAgreement.
This applies to leaf certificates. The page says nothing about EKU and KU on intermediate CA certificates. This article does not present this requirement as a rule for the entire chain.
The blog also states that if a certificate includes an EKU, it must contain
clientAuth, and if it includes a KU, it must contain either digitalSignature or keyAgreement. The blog further states that this check applies regardless of whether filters are configured (Blog).4.2 Certificates Without Extensions
The note on the same page states the following regarding certificates without extensions (Stated).If a certificate omits one of these extensions, that check does not apply and the certificate is accepted. This follows RFC 5280, which treats an absent extension as placing no restriction on how the key may be used.
In other words, the EKU check does not reject certificates that do not have the EKU extension. Similarly, the KU check does not reject certificates that do not have the KU extension. Certificates that are rejected are those that have an EKU extension but do not include
clientAuth, and those that have a KU extension but do not include either digitalSignature or keyAgreement.This rule relates to the trend of public CAs removing
clientAuth from their certificates. If a certificate with only the serverAuth EKU is presented as a client certificate, it will be rejected because it has an EKU extension but does not include clientAuth (Inference). The actions of public CAs are discussed in the previously published article When Public Certificates Stop Carrying clientAuth.4.3 No API Field Turns the Enforcement Off
The mTLS page describes this enforcement as "By default." Because a default exists, it is worth checking whether there is a way to change it.The mTLS configuration page lists two configurable mTLS behaviors on the TLS listener: how to handle expired certificates and whether to advertise CA names (Stated).
You can change two optional mTLS behaviors on a TLS listener.
The
MutualAuthenticationAttributes section of the API reference (Section 2.2) also lacks any field to disable the EKU and KU check (Stated, as of December 4, 2026). This article does not say that this check cannot be disabled. The mTLS page uses the term "By default," leaving open the possibility that a field to disable it may be added in the future. This article says only that, as of December 4, 2026, no field to disable it was found in the API or on the configuration page.4.4 Key, Signature, and Chain Limits
The mTLS page specifies the requirements and limits for client certificates as follows (Stated).| Item | Value |
|---|---|
| Certificate Type | X.509v3 |
| Public Key | RSA (2K to 8K), or ECDSA (secp256r1, secp384r1, secp521r1) |
| Signature Algorithm | SHA256, SHA384, SHA512 with RSA; the same three with ECDSA; and the same three hashes with RSASSA-PSS (MGF1) |
| Maximum Chain Depth | 4 |
| Maximum Chain Size | 16 KB |
| Maximum Size of Leaf Subject Distinguished Name | 1,024 bytes |
The access log reason codes include
ClientCertMaxChainDepthExceeded (maximum chain depth exceeded) and ClientCertMaxSizeExceeded (maximum client certificate size exceeded) (Stated).The maximum chain depth limits the number of levels in the CA hierarchy. The relationship between the AWS Private CA hierarchy design and the maximum chain depth is described in Section 7.2 of the published AWS Private CA Hierarchy Design, which addresses ALB. The value for NLB is also 4.
4.5 Table 1: What the Defaults Decide, What Settings Change, and What the Pages Do Not Say
| Rule | Category | Source |
|---|---|---|
| The chain must connect to the trust store's CA. | Default (prerequisite for verify) | User Guide (Stated) |
The clientAuth EKU and digitalSignature or keyAgreement KU on the leaf (when the extension is present). | Enforced by default. No API field to disable it. | User Guide, API Reference (Stated) |
| Accepting certificates without extensions. | Default | User Guide (Stated) |
| Rejecting expired certificates. | Default. Can be changed using IgnoreClientCertificateExpiry. | User Guide, API Reference (Stated) |
| Not advertising the names of trusted CAs. | Default. Can be changed using AdvertiseTrustStoreCaNames. | User Guide (Stated) |
| Filtering certificates using the identity filter. | Only when configured. | User Guide, API Reference (Stated) |
| Verifying revocation using CRL. | Only when a CRL is added. | User Guide (Stated) |
| Limits on keys, signatures, chain depth, chain size, and the subject. | Fixed. | User Guide (Stated) |
| EKU and KU for intermediate CAs. | Not stated. | (Not stated) |
| Handling of expired certificates for intermediate CAs. | Not stated (Section 5.1). | (Not stated, Section 5.1) |
| Revocation checking using OCSP. | Not stated (Section 7.1). | (Not stated, Section 7.1) |
5. Behaviors You Can Change
This chapter describes the two optional behaviors that the mTLS configuration page lists, as well as how to replace CA bundles.5.1 Expired Certificates: IgnoreClientCertificateExpiry
The configuration page for mTLS states that theIgnoreClientCertificateExpiry setting functions as follows (Stated).By default, the load balancer rejects expired certificates. To accept expired certificates that otherwise chain to a trusted CA, set IgnoreClientCertificateExpiry to true.
According to the API reference, this attribute is a Boolean value that indicates whether to ignore expired client certificates (Stated).
This attribute accepts certificates that are expired but otherwise chain to a trusted CA. Both the user guide and the API reference refer to the subject as a "client certificate" and do not specify whether expired intermediate CA certificates are accepted (Not stated). In contrast, the blog states that the NLB verifies the expiration date of all certificates in the chain (Blog). This article does not extend the effect of this attribute to intermediate CAs.
Certificates that have not yet reached their validity start date will be logged with a different code,
ClientCertNotYetValid (Stated). The pages do not state whether this attribute also accepts certificates that are not yet valid (Not stated).5.2 Advertising CA Names: AdvertiseTrustStoreCaNames
EnablingAdvertiseTrustStoreCaNames causes the load balancer to include the distinguished names of trusted CAs in the CertificateRequest message during the TLS handshake. This allows clients to automatically select certificates issued by trusted CAs. The default setting is off, and this attribute can be configured for both new and existing listeners (Stated).The value for this attribute must be a string, either
on or off, rather than a boolean value (Stated). This differs from the IgnoreClientCertificateExpiry attribute, which accepts true or false values.The blog suggests that this feature is beneficial when clients possess multiple certificates (such as those stored on smart cards). However, it also notes that once this is on, any client that connects to the load balancer can see which CAs are trusted (Blog).
The quotas page describes certificate limits, including CA name advertising and CRLs, and specifies a subject size of 10,000 for CA certificates per trust store (Stated). The table does not include units of measurement.
5.3 Replacing CA Bundles
CA bundles for the trust store are imported as a single file. Certificates cannot be added one by one; instead, you must re-import the entire bundle file. Use theModifyTrustStore operation to replace the bundle (Stated). The trust store can only hold one CA bundle at a time (Stated).CA certificate files must adhere to the following rules (Stated):
- They must be in PEM format.
- The certificate content must be enclosed between
-----BEGIN CERTIFICATE-----and-----END CERTIFICATE-----. - Comments must begin with
#and must not contain the character-. - The file must not contain any blank lines.
6. Identity Filters
This chapter describes the identity filter added to NLB's mTLS on November 19, 2026. The ALB mTLS page has no description of this filter (see Chapter 10).6.1 The Four Fields a Filter Matches
The identity filter matches fields in the client certificate. The following four fields can be matched (Stated):Field Value | Field Matched |
|---|---|
subject-cn | Common name of the subject |
subject-ou | Organizational unit of the subject |
san-dns | DNS names from the Subject Alternative Name (SAN) |
san-uri | URI from the SAN |
In the console, these are displayed as Subject.CN, Subject.OU, SAN.DNS, and SAN.URI (Stated).
6.2 Match Types and Values
Filter rules require you to select a match type of eitherexact or prefix, and to enter a printable ASCII character string of 1 to 256 characters for the value (Stated). According to the API reference, all four members – Action, Field, MatchType, and Value – are required (Stated).Filters can only be added to TLS listeners in verify mode. Up to 100 rules can be applied to a single listener (Stated). The identity filter page indicates that a recent version of the AWS CLI or AWS SDK is required to manage
ClientCertificateIdentityFilters (Stated).6.3 OR and accept
The load balancer combines rules with OR logic. If a certificate matches at least one rule, it passes the filter step (Stated).The only available action is
accept. The identity filter page states that any certificate that does not match any of the rules will be rejected (Stated). When a certificate is rejected, the tls_verify_status in the access log will indicate CertificateFilterNoMatch (Stated).Since there is no
deny action, it is not possible to create rules that reject specific identities (Inference). The intended use is to list the identities that are allowed. If you need to block only specific client certificates, use a CRL as described in Chapter 7.6.4 When a Field Is Missing or Has Several Values
When a certificate lacks a field that the filter references, the filter will not match. For example, this could be a certificate without SAN extensions or a certificate that does not include an organizational unit in the subject. If no other filters match, the load balancer will reject the connection (Stated).When a single field contains multiple values, the filter will match if it finds a match against any one of those values. For example, this could occur when a certificate has multiple organizational units in the subject, or when it has multiple DNS names in the SAN field (Stated).
6.5 Case and the Form of san-uri
The handling of uppercase and lowercase letters varies depending on the field (Stated).subject-cn,subject-ou, andsan-dnsare case-insensitive, regardless of whether they are used withexactorprefixmatching.san-uriis case-insensitive for the scheme and host, but distinguishes between uppercase and lowercase letters for the remaining parts of the URI.
In the example on the identity filter page, a filter with the value
SPIFFE://EXAMPLE.COM/workload matches spiffe://example.com/workload, but does not match spiffe://example.com/Workload (Stated).The following rules also apply to
san-uri values (Stated):- They must begin with an English letter.
- Only English letters, numbers,
+,-, and.are allowed before the first colon. This portion is the URI scheme. - If the match type is
exact, the value must include a colon.
The page provides examples of values such as
1spiffe://example.com and spiffe_id://example.com that the load balancer does not accept (Stated).6.6 SAN URIs Are Matched as Strings
The blog post discusses thesan-uri filter, stating (Blog):NLB matches the SAN URI as a string and doesn’t check which system issued the certificate, so any certificate signed by a CA in your trust store with the right URI works.
SPIFFE IDs are entered into the SAN as URIs that begin with
spiffe://. The NLB simply matches this URI as a string, without verifying whether it was issued through the SPIFFE system. If the trust store's CA has signed the certificate and the URI matches, any certificate will be accepted. Therefore, the reliability of the san-uri filter depends on which CAs are placed in the trust store, and to whom those CAs issue certificates for which URIs (Inference). The definition of SPIFFE is covered in Chapter 5 of the published AWS IAM Inbound Workload Federation.6.7 Removing the Filters
To keep mTLS verification enabled while removing filters, pass an empty filter list (Stated).aws elbv2 modify-listener \
--listener-arn listener-arn \
--mutual-authentication '{"Mode":"verify","TrustStoreArn":"trust-store-arn","ClientCertificateIdentityFilters":[]}'
If the filter list is empty, the load balancer will not apply any filters, allowing all certificates that pass trust store verification to proceed (Stated).
7. Revocation Checks
This chapter describes the CRLs (certificate revocation lists) that you add to a trust store.7.1 CRL Only, PEM Only
TheRevocationType field of the RevocationContent in the API reference can only accept the value CRL (Stated). The page describing mTLS configuration states that the NLB only accepts CRL files in PEM format (Stated).This article found no mention of OCSP revocation checks on the NLB pages it read (Not stated). The
InvalidRevocationContent error for AddTrustStoreRevocations indicates that the revocation file is either in an incorrect format or uses an invalid algorithm (Stated).The
RevocationContent is a common API type for both ALB and NLB. The ALB's revocation checks are covered in Section 7.4 of the previously published AWS Private CA Hierarchy Design.7.2 When the CRL Is Imported
The blog post describes CRL import as follows (Blog).NLB imports the CRL when you add it and doesn’t read it from Amazon S3 on each connection. When your list changes, add the updated CRL to the trust store again.
In other words, even if you modify the CRL file in S3, the CRL in the trust store will not change. If new certificates need to be revoked, you must add a new CRL to the trust store. The CRL you add will have a new revocation ID (see Section 7.4). This article reads that if you continue adding CRLs without removing older ones, you will approach the per-trust-store limits on revocation lists and revocation entries (see Section 9.4) (Inference). The user guide pages say nothing about when the CRL is imported (Not stated).
7.3 Negative Serial Numbers
The mTLS configuration page includes the following Important note (Stated).Network Load Balancers do not support revoking certificates that have a negative serial number. If a CRL contains a negative serial number, Network Load Balancers ignore that entry and do not revoke the certificate it identifies.
The same note also states that to revoke such certificates, they should be reissued with a non-negative serial number (Stated). Even if an entry exists in the CRL, if the serial number is negative, the certificate will not be rejected during revocation checks.
7.4 Revocation IDs and Deletion
When a CRL is added to the trust store, a revocation ID is assigned. This revocation ID increases each time a CRL is added and cannot be changed. Deleting a CRL also removes its associated revocation ID, and that ID will not be reused within that trust store (Stated).The maximum number of CRLs is specified in the table in Section 9.4.
8. What Does Not Resume and What Does Not Reach the Targets
This chapter discusses behaviors outside of the connection that change as a result of enabling mTLS.8.1 Session Resumption
The NLB user guide's page on mTLS states the following (Stated).Session resumption is not supported while using mutual TLS verify mode with a Network Load Balancer.
This sentence refers to a listener configured in mTLS verify mode. It does not indicate that all NLB TLS listeners fail to resume. The listeners page describes resumption on TLS listeners as follows (Stated).
Network Load Balancers support TLS resumption using PSK for TLS 1.3, and session tickets for TLS 1.2 and older. Resumptions with session ID, or when multiple certificates are configured in the listener using SNI, are not supported.
In summary, TLS listeners that do not use mTLS can be resumed using PSK in TLS 1.3 and session tickets in TLS 1.2 and earlier versions. However, resumption using session ID and resumption on listeners that utilize multiple certificates via SNI are not supported even without mTLS. Listeners configured in verify mode cannot be resumed using any method.
This article reads this to mean that connections that could resume before take a full handshake every time once the listener is in verify mode (Inference). Clients that frequently establish new connections may experience this difference in the number of handshakes.
8.2 What Reaches the Targets
The blog says the following about what reaches the targets (Blog).Only clients that pass every check reach your targets, and targets receive no client certificate data, so your backends need no certificate inspection logic.
In another paragraph, the blog says that because NLB does not pass certificate fields to the targets, the filters are the means of enforcing client identity (Blog).
The user guide's mTLS page, listeners page, and target group attributes page say neither that certificate information is passed to the target nor that it is not (Not stated). The only custom TLV that the "Proxy protocol" section of the target group attributes page lists is the VPC endpoint ID; the page lists no client certificate TLV (Stated).
This article presents the claim that the target does not receive certificate information as the blog's statement, not as a statement in the user guide. If the target application needs to use the client's identity, the ALB's verify mode can pass the subject and issuer via HTTP headers (Chapter 10). If, with NLB, the target needs to see the certificate itself, use a TCP listener that passes TLS through without terminating it (Section 2.1).
8.3 How a Rejection Looks to the Client
In the blog's instructions, when a client is rejected, they receive a connection reset, and no HTTP response is returned. The blog notes that, with TLS 1.3, the client completes its handshake before the NLB rejects the certificate, so the rejection appears to the client as a reset during the initial request (Blog).This article did not find this behavior on the user guide pages (Not stated). Based solely on the client's logs, the certificate rejection may appear as a network disconnection (Inference). To find the cause, examine the
tls_verify_status in the load balancer's access logs (see Section 9.1).8.4 Health Checks
The blog states that the health check functionality continues to operate as usual, and that since the NLB does not use client certificate information in the health check process, no additional configuration is required even when mTLS is enabled (Blog).9. Logs, Metrics, and Limits
This chapter describes where the results of mTLS are stored and lists the limits.9.1 Four Access Log Fields
NLB access logs are only created when a TLS listener is present and contain only information about TLS connections. The logs are recorded on a best-effort basis, and the page recommends that they not be used as a complete record of all requests (Stated). The access log version is 3.0, and new fields are added to the end of each row (Stated).The results of mTLS are stored in the following four fields (Stated).
| Field | Description |
|---|---|
tls_verify_status | Success if the connection was established; otherwise, Failed:$error_code. |
leaf_client_cert_subject | The subject name of the leaf client certificate. If the listener has no mTLS configured, or if the leaf certificate cannot be read or parsed, this field will display as "-". |
leaf_client_cert_validity | The validity period of the leaf certificate. Expressed in ISO 8601 format, using NotBefore and NotAfter. |
leaf_client_cert_serial_number | The serial number of the leaf certificate. |
There is no issuer field (Stated, not in the field table). It is not possible to determine which CA issued the certificate from the access logs alone (Inference). The ALB's verify mode passes the issuer information to the target via an HTTP header (see Chapter 10).
The differences in what ALB and NLB access logs record are discussed in the FAQ of the previously published article Where the Logs Come From on AWS - The Network.
In addition to traditional logs written to S3, access logs can also be streamed to CloudWatch Logs (vended logs). The CloudWatch Logs page does not list the fields (Not stated). The field descriptions in this article are based on the S3 access log page.
9.2 Table 2: Reason Codes for Errors
The access log page lists the following 14 reason codes thattls_verify_status can record (Stated).| Code | Summary of Page Description |
|---|---|
ClientCertMaxChainDepthExceeded | The chain depth exceeded the maximum limit. |
ClientCertMaxSizeExceeded | The client certificate exceeded the maximum size limit. |
ClientCertCrlHit | The client certificate has been revoked by the CA. |
ClientCertCrlProcessingError | An error occurred while processing the CRL. |
ClientCertUntrusted | The client certificate is not trusted. |
ClientCertNotYetValid | The client certificate is not yet valid. |
ClientCertExpired | The client certificate has expired. |
ClientCertTypeUnsupported | The client certificate type is not supported. |
ClientCertInvalid | The client certificate is invalid. |
ClientCertPurposeInvalid | The client certificate's intended purpose is invalid. |
ClientCertRejected | A custom server validation rejected the client certificate. |
UnmappedConnectionError | An unmapped runtime connection error occurred. |
ClientCertIncompatible | The client certificate is incompatible with the security policy of the selected listener. |
CertificateFilterNoMatch | The trust chain validation passed, but it did not match any identity filter. |
The description for
ClientCertPurposeInvalid indicates that it signifies an invalid intended purpose, without specifying whether it is an EKU or KU. This article reads that this code is logged when the check described in Section 4.1 rejects a certificate (Inference).ClientCertIncompatible is a code related to the combination of the certificate and the listener's security policy. In contrast, the blog states that mTLS works with all generally available TLS security policies (Blog). The access log page does not specify which policy and certificate combinations trigger this code (Not stated).9.3 Metrics
The CloudWatch metrics page in the NLB user guide does not list any metrics specific to mTLS (Not stated, as of December 4, 2026). It does, however, provide metrics related to TLS, includingClientTLSNegotiationErrorCount, which tracks the number of failed handshakes between the client and the TLS listener (Stated). Whether mTLS rejections are counted within this metric is not stated on the page (Not stated).The blog says that NLB provides CloudWatch metrics for mTLS, including the number of handshakes, error counts, handshake latency, and client certificate expiration dates (Blog). However, the blog post does not specify the names of these metrics.
9.4 Table 3: Limits
This table lists the values for NLB quotas, as well as the limits for mTLS and identity filter configurations (Stated).| Limit | Value | Increase Possible? | Source |
|---|---|---|---|
| Verify mode listeners (per load balancer) | 2 | No | Quota page |
| Trust stores (per account) | 20 | Yes | Quota page |
| CA certificates per trust store | 25 | Yes | Quota page |
| CA certificate size | 16 KB | No | Quota page |
| Subject size of CA certificates per trust store | 10,000 | Yes | Quota page |
| Certificate chain depth | 4 | No | Quota page |
| Revocation entries per trust store | 500,000 | Yes | Quota page |
| Revocation list file size | 50 MB | No | Quota page |
| Revocation lists per trust store | 30 | Yes | Quota page |
| TLS message size | 64 KB | No | Quota page |
| Client certificate chain size | 16 KB | — | mTLS page |
| Subject distinguished name (leaf) | 1,024 bytes | — | mTLS page |
| Identity filter rules per listener | 100 | — | Identity filter page, API reference |
The limit for verify mode listeners cannot be increased. If you want to place mTLS on three or more ports on a single NLB, you will need to split the load balancer (Inference). The quota page for ALBs also lists a quota with the same name at 2, which cannot be increased (Stated).
9.5 When You Stop Sharing a Trust Store
Trust stores can be shared with other accounts and AWS Organizations organizations using AWS RAM (Stated). When sharing is stopped, existing associations remain, but new associations can no longer be made (Stated). Section 7.2 of the previously published article Cross-Account Sharing by Service on AWS covers this behavior alongside other resources.The page describing NLB trust store sharing notes, as an important consideration, that the owner can use
DeleteSharedTrustStoreAssociation to forcibly remove existing associations. When an association is removed, listeners that utilize that trust store will no longer be able to verify client certificates, resulting in TLS handshake failures (Stated).When an association is deleted, any load balancer listeners using the trust store can no longer verify client certificates and will fail TLS handshakes.
The owner of a shared trust store can view a list of NLBs that use the trust store and will receive AWS CloudTrail logs when it is used (Stated). In the API reference,
TrustStoreAssociationStatus takes the values active and removed (Stated).The page describing ALB trust store sharing calls the same operation
DeleteTrustStoreAssociation. As of December 4, 2026, the API reference has no operation by that name; the operation that exists is DeleteSharedTrustStoreAssociation (Stated).10. How NLB Mutual TLS Differs from ALB Mutual TLS
This chapter outlines the differences between mTLS in Application Load Balancers (ALB) and mTLS in Network Load Balancers (NLB), presenting the details side-by-side. It does not evaluate which approach is superior.10.1 Figure 2: ALB and NLB Mutual TLS Side by Side

10.2 Table 4: How the Pages Differ
| Feature | ALB | NLB |
|---|---|---|
| Listener Type | HTTPS Listener | TLS Listener |
Mode Values | off, passthrough, verify (Stated) | off, verify (Stated) |
| Data Passed to Target | passthrough passes the entire chain using X-Amzn-Mtls-Clientcert headers; verify passes five X-Amzn-Mtls-Clientcert-* headers: serial number, issuer, subject, validity, and leaf (Stated). | Passes nothing, according to the blog (Blog). No description in the user guide (Not stated). |
| Default Enforcement of Leaf EKU and KU | Not described on the mTLS page (Not stated). The connection log reason code ClientCertPurposeInvalid exists (Stated). | Enforced by default. Does not apply if no extension is present (Stated). |
| Identity Filter | API reference indicates [Network Load Balancers]. Not described on the ALB mTLS page (Not stated). | Four fields: exact and prefix, OR, up to 100 (Stated). |
| Revocation Check | RevocationType values are limited to CRL for both ALB and NLB (Stated). | CRL only, and only in PEM format (Stated). |
| Session Resumption | Does not resume, regardless of passthrough or verify mode (Stated). | Does not resume in verify mode (Stated). |
| CA Name Advertising | Possible (Stated). | Possible. Default is off (Stated). |
| Logging | Connection log (tls_verify_status and three leaf fields). 13 reason codes (Stated). | Access log 3.0 (four fields with the same names). 14 reason codes, including CertificateFilterNoMatch (Stated). |
| Verify Mode Listener Limit | 2 per load balancer, and cannot be increased (Stated). | 2 per load balancer, and cannot be increased (Stated). |
| Public Key and Signature Algorithms | RSA (2K to 8K), three ECDSA curves (Stated). | Same (Stated). |
This article argues that the absence of an Extended Key Usage (EKU) description on the ALB's mTLS page does not mean that ALB does not verify EKU. The ALB's connection logs contain the code
ClientCertPurposeInvalid, indicating that some kind of purpose check is performed (Inference). The relationship between ALB's EKU and the clientAuth setting on the public CA is discussed in the previously published article When Public Certificates Stop Carrying clientAuth.The details of ALB's mTLS, including the two modes, chain depth, and headers received by the target, are covered in Chapter 7 of the previously published article AWS Private CA Hierarchy Design.
11. Frequently Asked Questions About NLB Mutual TLS
Q1. Can client certificates be passed to the target with NLB's mTLS?There is no mode to pass the certificate. NLB's
Mode value is limited to off and verify, and it does not support the passthrough option found in ALB. The blog states that the target does not receive information from the client certificate. The user guide says neither that NLB passes the certificate nor that it does not. If you want the target to verify the certificate, use a TCP listener and pass TLS through without terminating it.Q2. Are client certificates without Extended Key Usage (EKU) extensions rejected?
No, they are not rejected. The NLB user guide states that if a certificate does not have an EKU or KU extension, that check does not apply, and the certificate is accepted. Leaf certificates are rejected only if they have an EKU extension but do not include
clientAuth, or if they have a KU extension but include neither digitalSignature nor keyAgreement.Q3. Can the EKU and KU check be disabled?
As of December 4, 2026, no field to disable this check has been found. The user guide states that this check is performed by default. The only configurable behaviors mentioned on the mTLS configuration page are how to handle expired certificates and whether to advertise CA names. There is also no field to disable this check in the API's
MutualAuthenticationAttributes.Q4. Can expired client certificates be accepted?
Setting
IgnoreClientCertificateExpiry to true will allow certificates that are expired but otherwise chain to a trusted CA to be accepted. The default behavior is to reject them. The pages do not say whether expired intermediate CA certificates, or certificates that are not yet valid, are accepted.Q5. If an identity filter matches, can certificates from CAs not in the trust store be accepted?
No, they cannot. The filter only applies to certificates that have passed trust store validation. The blog states that NLB does not look at the fields of untrusted certificates. The filter is used to narrow down the identities accepted from among the certificates from trusted CAs.
Q6. If the S3 CRL file is updated, is this reflected in the revocation check?
According to the blog, it is not. NLB imports the CRL when you add it and does not read it from S3 with each connection. To update the revocation information, you must add the new CRL to the trust store. Additionally, entries with negative serial numbers are ignored.
Q7. What happens to TLS session resumption when mTLS is enabled?
In listeners configured in verify mode, session resumption does not occur. TLS listeners that do not use mTLS can resume sessions using PSK in TLS 1.3, and with session tickets in TLS 1.2 and earlier. However, session resumption using session IDs, and resumption on listeners that use multiple certificates with SNI, are not supported, even without mTLS.
Q8. How many listeners in verify mode can you have on a single NLB?
You can have up to two. The quotas page states that this limit cannot be increased. The limit for ALB is also two, and it cannot be increased.
12. Summary
- The NLB's mTLS mode only supports
offandverify, and does not offer thepassthroughoption available in ALB. Settings are configured through the six fields in the listener'sMutualAuthenticationAttributes. - In
verifymode, the listener admits connections in the following order: chain of trust to the trust store's CA, identity filter, and certificate revocation check. If no filter or CRL is configured, every certificate that passed trust store validation is admitted. - By default, the leaf certificate's EKU (Extended Key Usage) must include
clientAuth, and the KU (Key Usage) must include eitherdigitalSignatureorkeyAgreement. If an extension is absent, its check does not apply. As of December 4, 2026, there is no API field to disable this requirement. - The configuration page lists two optional behaviors: accepting expired certificates (
IgnoreClientCertificateExpiry) and advertising the trust store's CA names (AdvertiseTrustStoreCaNames). The pages do not say how expired intermediate CAs are handled. - The identity filter matches against four fields using either
exactorprefixmatching, combined with OR. The only available action isaccept; if no match is found, the connection is rejected with aCertificateFilterNoMatcherror.san-uridistinguishes case in the path, and according to the blog, it is matched as a string. - Certificate revocation checks are performed using only PEM-formatted CRLs, and entries with negative serial numbers are ignored. According to the blog, CRLs are imported when you add them.
- Listeners in
verifymode do not resume sessions. TLS listeners that do not use mTLS can resume using PSK (Pre-Shared Key) and session tickets. Only the blog says that certificate information does not reach the target. - Access logs record
tls_verify_status, the leaf certificate's subject, validity period, and serial number. The issuer field is not included. There are 14 different reason codes. - Listeners in
verifymode are limited to two per load balancer, and the limit cannot be increased. - This article is based on documentation reviewed on December 4, 2026. Given that this was the final day of re:Invent 2026, the ELB documentation may change.
13. References
- Authenticate clients using mutual TLS for Network Load Balancers - Elastic Load Balancing
- Configure mutual TLS - Elastic Load Balancing
- Client certificate identity filters - Elastic Load Balancing
- Access logs for your Network Load Balancer - Elastic Load Balancing
- CloudWatch logs for your Network Load Balancer - Elastic Load Balancing
- CloudWatch metrics for your Network Load Balancer - Elastic Load Balancing
- Quotas for your Network Load Balancers - Elastic Load Balancing
- Listeners for your Network Load Balancers - Elastic Load Balancing
- Edit target group attributes for your Network Load Balancer - Elastic Load Balancing
- Share your Elastic Load Balancing trust store for Network Load Balancers - Elastic Load Balancing
- Document history for Network Load Balancers - Elastic Load Balancing
- MutualAuthenticationAttributes - Elastic Load Balancing
- ClientCertificateIdentityFilter - Elastic Load Balancing
- CreateTrustStore - Elastic Load Balancing
- ModifyTrustStore - Elastic Load Balancing
- AddTrustStoreRevocations - Elastic Load Balancing
- RevocationContent - Elastic Load Balancing
- DeleteSharedTrustStoreAssociation - Elastic Load Balancing
- Mutual authentication with TLS in Application Load Balancer - Elastic Load Balancing
- Connection logs for your Application Load Balancer - Elastic Load Balancing
- Quotas for your Application Load Balancers - Elastic Load Balancing
- Share your Elastic Load Balancing trust store for Application Load Balancers - Elastic Load Balancing
- AWS Network Load Balancer now supports mutual TLS authentication - AWS What's New
- Introducing mTLS for Network Load Balancer - AWS Networking & Content Delivery Blog
- RFC 5280 - Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile
References:
Tech Blog with curated related content
Written by Hidekazu Konishi