Certificate chain sizes for typical TLS deployments

Byte sizes of post-quantum and classical signatures and public keys, as the RFCs give them, and how those sizes add up in a leaf, intermediate and root chain.

On this page

Certificate chain sizes for TLS in bytes at a glance

Sizing a TLS certificate chain before a post-quantum migration starts with two figures that set most of the budget. Under RFC 9881, Table 2 in Appendix B, an ML-DSA-65 signature is 3309 bytes and an ML-DSA-65 public key is 1952 bytes, both as raw sizes without ASN.1 wrapper overhead. Those raw values are the starting point, and the encoded size of the certificate that carries them will be larger once the wrappers are added. The table on this page is meant for platform, PKI and network engineers who need to estimate total chain length for a typical leaf, intermediate and root arrangement under each algorithm choice, so they can compare it against the limits in their own stack.

Use the table to check whether a chain still fits the budgets you already run. Each row sums the signature and key material for the leaf, intermediate and root under one algorithm, which lets you see where the total moves when the signature changes from a classical key to a post-quantum one. The classical comparison points are the Ed25519 figures in RFC 8032, a 32-byte public key and a 64-byte signature, and the Ed448 figures, a 57-byte public key and a 114-byte signature. Read the per-algorithm sizes alongside the sibling pages for encoded leaf certificate lengths, since those already include encoding overhead that the raw figures leave out.

Confirm the figures before you commit to a design. The sources listed on this page give raw key and signature sizes, and they do not by themselves give a full encoded chain length, so treat any total here as an estimate until you measure an actual issued chain in your own environment. Also check the TLS handshake size limits your load balancers, proxies and middleboxes enforce, because a larger chain can exceed a packet or buffer limit that a classical chain never reached. RFC 9881 and the other RFCs listed on this page are the place to verify the exact values for the parameter sets you plan to deploy.

ML-DSA, SLH-DSA and classical signature and key sizes in bytes

This table compares raw signature and public key sizes, in bytes, for the ML-DSA and SLH-DSA parameter sets against the classical Ed25519 and Ed448 algorithms they would replace in a certificate chain. Each figure is the raw size without ASN.1 wrapper overhead, so the encoded certificate and chain will be larger, and the table is the starting point for estimating chain length. Read the signature column as the largest contributor to chain size, since it is the value that changes most between options.

Algorithm or parameter setPublic key (bytes)Signature (bytes)Source and notes
ML-DSA-44 (NIST level 2)13122420RFC 9881, Appendix B, Table 2. Raw sizes, excluding ASN.1 wrappers.
ML-DSA-65 (NIST level 3)19523309RFC 9881, Appendix B, Table 2. Raw sizes, excluding ASN.1 wrappers.
ML-DSA-87 (NIST level 5)25924627RFC 9881, Appendix B, Table 2. Raw sizes, excluding ASN.1 wrappers.
SLH-DSA sha2 and shake 128s (level 1)Not stated in this table7856RFC 9909, Appendix B, Table 1. Signature size only is given here.
SLH-DSA sha2 and shake 192s (level 3)Not stated in this table16224RFC 9909, Appendix B, Table 1. Signature size only is given here.
SLH-DSA sha2 and shake 192f (level 3)Not stated in this table35664RFC 9909, Appendix B, Table 1. Signature size only is given here.
SLH-DSA sha2 and shake 256f (level 5)Not stated in this table49856RFC 9909, Appendix B, Table 1. Signature size only is given here.
Ed25519 (classical)3264RFC 8032. The classical EdDSA baseline for comparison.
Ed448 (classical)57114RFC 8032. The classical EdDSA baseline for comparison.

How to read the byte columns in the signature tables

The byte columns in the signature tables on this page are raw sizes. For ML-DSA, the figures in Appendix B, Table 2 of RFC 9881 give signature sizes of 2420 bytes at NIST security level 2 (ML-DSA-44), 3309 bytes at level 3 (ML-DSA-65) and 4627 bytes at level 5 (ML-DSA-87), with public keys of 1312, 1952 and 2592 bytes at the same levels. The RFC states that these are the sizes of the raw keys, without the ASN.1 encoding added by the OneAsymmetricKey and SubjectPublicKeyInfo wrappers. An encoded certificate carries that wrapper overhead, so a certificate chain built from these values will be larger than the raw figures alone suggest. Confirm the encoded size against a real issued certificate before sizing packet or buffer limits.

SLH-DSA figures come from Appendix B, Table 1 of RFC 9909. That table ranges from 7856 bytes for the sha2 and shake 128s signature at NIST level 1 to 49856 bytes for the sha2 and shake 256f signature at level 5. The 192s and 192f variants, both at level 3, list 16224 and 35664 bytes respectively. Classical Ed25519 (32-byte public key, 64-byte signature) and Ed448 (57-byte public key, 114-byte signature) figures from RFC 8032 are the baseline to compare against. Read each row against its parameter set, because the 's' and 'f' variants trade signature size against signing speed.

The ML-KEM encapsulation key sizes of 800, 1184 and 1568 bytes (Appendix B, Table 1 of RFC 9935) for NIST levels 1, 3 and 5 apply only when a certificate carries an ML-KEM public key. They do not appear in the signature rows. Check which key type a given certificate uses before adding these figures to a chain total, and confirm the object identifiers in use against the RFC if your PKI issues KEM certificates.

Where a 3309-byte signature changes a TLS chain

A single ML-DSA-65 signature is 3309 bytes, and that figure adds up fast once it is repeated across a certificate chain, a log entry and a constrained handshake. The cards below cover the places where these sizes change what an engineer has to check, from the handshake itself to the limits set by certificate transparency and to devices with tight memory.

The handshake and certificate chain

A TLS server sends its certificate chain during the handshake, and every certificate in that chain carries its own signature. Each signature in a post-quantum chain is measured in raw bytes, and RFC 9881 lists 3309 bytes for an ML-DSA-65 signature (level 3), against 64 bytes for an Ed25519 signature in RFC 8032. Public keys add to the total as well: ML-DSA-65 public keys are 1952 bytes. Before you change a chain, add up the leaf, intermediate and root contributions and check the sum against the packet and middlebox limits your deployment actually runs into. Confirm the exact encoding with your CA and TLS library, since ASN.1 wrappers sit outside the raw figures.

RFC 9881 text

Certificate transparency entry limits

Logged certificates are bounded by RFC 6962. The certificate field is an ASN.1Cert of 1 to 16,777,215 bytes, and the extensions field in a log entry holds at most 65,535 bytes. A log operator or monitor sizing storage and rejecting oversized submissions must treat both limits as hard ceilings. Because chains are repeated with each logged certificate, a chain built on large post-quantum signatures uses more of the certificate field than a classical chain does. Check the limits your chosen log enforces before you issue a chain at scale, and test a submission end to end rather than relying on the size of the leaf alone.

RFC 6962 text

Larger SLH-DSA signatures

SLH-DSA signatures are considerably larger than ML-DSA signatures. RFC 9909 lists them from 7856 bytes for the level 1 sha2 and shake 128s sets up to 49856 bytes for the level 5 sha2 and shake 256f sets. Within level 3, the 192s signature is 16224 bytes and the 192f signature is 35664 bytes. A chain that uses SLH-DSA therefore pays this cost at every certificate in the path. Choose the parameter set on purpose, weighing signature size against the operational needs that drove the choice, and confirm the exact figures for the parameter set you run in the RFC table.

RFC 9909 text

Constrained devices and small buffers

Embedded devices, sensors and industrial controllers often have limited flash, RAM and bandwidth, and a multi-kilobyte signature can exceed what those devices can buffer during a handshake. Check the certificate sizes against the buffers in your firmware and TLS stack before you choose an algorithm, and ask the device vendor which message sizes the stack has been tested with. Where a device cannot hold a full post-quantum chain, the sources in this section do not say what alternative to use, so treat that question as one to settle with your own testing and your vendor's documentation.

Key sizes for hybrid certificates

A certificate that carries an ML-KEM public key adds the encapsulation key to the leaf. RFC 9935 gives ML-KEM encapsulation keys of 800, 1184 and 1568 bytes at NIST levels 1, 3 and 5, and defines the X.509 encodings with object identifiers for ML-KEM-512, ML-KEM-768 and ML-KEM-1024. That public key is separate from the signature on the certificate, so the two costs add together. Check which parameter set your issuance pipeline uses and account for its key size when you estimate the leaf certificate length.

ML-KEM-768 encapsulation key
1184 bytes
RFC 9935 text

How a leaf, intermediate and root chain accumulates bytes

This illustrative diagram follows a TLS server's certificate_chain from the leaf certificate, which carries the server's own public key and a signature from its issuer, through an intermediate CA certificate that signs the leaf, up to the root certificate at the top of the chain. Each certificate in the chain adds its own encoded public key and signature, so the total size grows with every hop. The sources give raw public key and signature sizes for ML-DSA and SLH-DSA, and for Ed25519 and Ed448, but they do not give a total for a full chain. Check the encoded size of each certificate in your own chain, including ASN.1 wrapper overhead, before you compare against any packet or middlebox limit. The certificate_chain field uses the same byte-string type as RFC 6962, which allows up to 16,777,215 bytes.

Illustrative flow of certificates that make up a TLS server's chain.

ML-DSA-44, ML-DSA-65 and ML-DSA-87 figures by parameter set

ML-DSA-44 is the parameter set that RFC 9881 places at NIST security level 2. Its raw signature is 2420 bytes and its raw public key is 1312 bytes, as listed in Appendix B, Table 2. These are the sizes of the raw values, so the encoded certificate will be somewhat larger once the ASN.1 wrappers are added.

  • Signature size: 2420 bytes, the smallest ML-DSA signature in the table.
  • Public key size: 1312 bytes, excluding the SubjectPublicKeyInfo wrapper.
  • NIST level: level 2.
  • Object identifier: RFC 9881 defines the object identifier for ML-DSA-44 in Section 2.
  • AlgorithmIdentifier: per Section 3, the AlgorithmIdentifier is a SEQUENCE holding only the object identifier, and the parameters field must be absent.

Before you size a chain that uses this parameter set, confirm the object identifier and encoding in RFC 9881 against the library version you run, since a mismatch will break certificate parsing.

Post-quantum signature sizes against Ed25519 and Ed448 in bytes

This table sets the classical EdDSA figures from RFC 8032 beside the ML-DSA and SLH-DSA signature and public key sizes that the RFCs list, all in bytes. Each row is a raw size without ASN.1 wrapper overhead, so the encoded size in a certificate will be larger. Read the signature column as the main driver of chain growth: a post-quantum leaf and its intermediates each add their full signature size to the handshake, and the public key column adds to the leaf certificate itself.

AlgorithmPublic key (bytes)Signature (bytes)
Ed25519 (RFC 8032)3264
Ed448 (RFC 8032)57114
ML-DSA-44, level 2 (RFC 9881)13122420
ML-DSA-65, level 3 (RFC 9881)19523309
ML-DSA-87, level 5 (RFC 9881)25924627
SLH-DSA sha2 and shake 128s, level 1 (RFC 9909)Not stated in this table7856
SLH-DSA 192s, level 3 (RFC 9909)Not stated in this table16224
SLH-DSA 192f, level 3 (RFC 9909)Not stated in this table35664

Checking a post-quantum chain size before rollout

This sequence establishes the total encoded size of your certificate chain under a post-quantum signature algorithm, and checks that total against the limits your stack and network path enforce. Work through it before issuing or deploying a chain, so the handshake fits within the buffers, message sizes and middlebox rules it will meet in production.

  1. Confirm the parameter set in each certificate

    Inspect the leaf, intermediate and root certificates and record the signature algorithm and parameter set each one uses. For ML-DSA, the RFC 9881 Appendix B table gives signatures of 2420, 3309 and 4627 bytes for ML-DSA-44, ML-DSA-65 and ML-DSA-87, and the parameter set you read from the certificate determines which row applies. Your output is a written list of algorithm and parameter set for every certificate in the chain, so the size figures you use later match what is actually deployed.

  2. Record the encoded length of each certificate

    Measure the full DER-encoded length of each certificate rather than adding up raw key and signature sizes. The RFC 9881 table gives raw sizes without ASN.1 wrapper overhead, so the encoded certificate will be larger than the signature and key figures alone suggest. Use a tool such as openssl x509 to produce the DER file and check its byte count. Your output is one encoded length per certificate, recorded with the parameter set it came from.

  3. Sum the leaf, intermediate and root lengths

    Add the encoded lengths of the leaf, intermediate and root certificates to get the total chain length that the server sends in the certificate message. Include every certificate your server actually transmits, and state clearly whether the root is included, since many deployments omit it. Your output is one total for the configured chain, with a note of which certificates it includes.

  4. Compare the total against your enforced limits

    Compare the chain total with the buffer sizes in your TLS stack, the message size limits on load balancers and proxies, and any packet or record size rules enforced by middleboxes on the network path. The RFC 6962 limits on certificate fields, which cap a single certificate at 16,777,215 bytes and extensions at 65,535 bytes, are the protocol ceilings, while your own stack and devices will often impose lower values. Your output is a pass or fail against each limit you found, with the specific limit recorded.

  5. Test the handshake in a staging environment

    Run a full TLS handshake against a staging endpoint that serves the post-quantum chain, using the clients and network path your production users will reach. Capture the handshake to confirm the server sends the chain you measured and that it completes without truncation or handshake failure. Check the result with each client version you support, because buffer behavior differs between them. Your output is a recorded handshake result for each client and path tested.

  6. Ask your CA and vendors for parameter and encoding details

    Before rollout, ask your certificate authority which parameter set and encoding it issues for each certificate type, and confirm the object identifiers used in the certificates. Ask each infrastructure vendor which signature algorithms and encodings their TLS terminators and load balancers support in the version you run, since support for an algorithm does not show that it is compatible with your exact deployment. Your output is written answers from each CA and vendor, which you record alongside your measured sizes.

What these byte figures do not tell you

The byte figures in this topic are raw sizes taken from the RFCs that define each algorithm, not measured totals for a deployed chain. RFC 9881 gives ML-DSA signatures of 2420, 3309 and 4627 bytes and public keys of 1312, 1952 and 2592 bytes as raw key and signature values without ASN.1 wrapper overhead. RFC 9909 gives SLH-DSA signatures from 7856 to 49856 bytes. A certificate you issue or receive carries more than these values: the algorithm identifier, the subject public key information wrapper, the issuer name, validity dates, extensions and the signature wrapper all add bytes. The encoded total for a leaf or intermediate certificate therefore has to be measured from the certificate itself, not summed from the table values. Use openssl x509 -in cert.pem -outform DER | wc -c on a certificate you have issued to get the encoded length.

The length of the chain also changes the total that a server sends during the handshake. The figures here cover one signature or one key, but a typical deployment sends a leaf certificate plus one or more intermediates, and the root is usually omitted. Each intermediate adds its own signature and public key, so the number of certificates in the chain, and which of them your server actually transmits, determines the size the client receives. The sources listed on this page do not state how many intermediates a given CA hierarchy uses or whether any particular server software includes the root. Confirm the chain your server sends by inspecting it with openssl s_client -connect host:443 -showcerts and counting the bytes of each certificate in the output.

The sources do not describe how a specific TLS library, load balancer, firewall or other middlebox handles chains of these sizes, including any limit on handshake message length, buffer size or packet fragmentation. Do not assume a product accepts or forwards a large chain because the arithmetic fits a theoretical limit. Test the exact library version, server configuration and network path you run, with the chain you plan to deploy, and record whether the handshake completes and whether any device drops or truncates it. Vendor documentation and your own test results are the reliable sources for those behaviors.

Questions people ask about certificate chain sizes in bytes

How big is an ML-DSA-65 signature in bytes?

An ML-DSA-65 signature is 3309 bytes. That figure is listed in RFC 9881 Appendix B, Table 2, for the parameter set at NIST security level 3. The number is the raw signature length, without any ASN.1 wrapper overhead. Once the signature is encoded inside an X.509 certificate, the encoded certificate will be longer than the raw value alone, so measure the encoded certificate when you size a packet budget. The same table gives an ML-DSA-65 public key of 1952 bytes. Both figures come from the standard, so check them against the version of the ML-DSA implementation you run.

How does an Ed25519 signature compare with ML-DSA in bytes?

An Ed25519 signature is 64 bytes and an Ed25519 public key is 32 bytes, as RFC 8032 defines them. The ML-DSA-65 signature from RFC 9881 is 3309 bytes, and its public key is 1952 bytes. So the post-quantum signature is roughly fifty times the size of the classical one in raw terms. Public key sizes differ less sharply. The gap matters most in certificate chains, because every certificate in the chain carries a signature and a public key. Multiply the per-certificate difference by the number of certificates in your chain to estimate the total change, and confirm the result against encoded certificates from your own issuing pipeline.

Does a post-quantum certificate chain fit in a single packet?

The RFC figures do not say whether a given chain fits in one packet, because that depends on the number of certificates, the encoding overhead, the handshake messages around them and the path MTU. What the figures show is the scale of the increase. A single ML-DSA-65 signature is 3309 bytes, and a chain with several such signatures plus public keys grows quickly. The sizes in RFC 9909 are larger still, from 7856 bytes to 49856 bytes for SLH-DSA signatures. Measure the encoded chain for your own deployment, and test it through the middleboxes and load balancers in your network path, since some devices impose their own size limits.

Which parameter set does a rule name when it refers to ML-DSA-65?

ML-DSA-65 is the ML-DSA parameter set that RFC 9881 Appendix B, Table 2 places at NIST security level 3. The table pairs the three named parameter sets with their levels: ML-DSA-44 at level 2, ML-DSA-65 at level 3 and ML-DSA-87 at level 5. The signature size for ML-DSA-65 is 3309 bytes, and the public key size is 1952 bytes. When a policy, rule or procurement document refers to a parameter set by level rather than by name, map the level to the name using this table. Check the document's own definition, because some documents use the level number and the name interchangeably without stating it.

What does the 65,535-byte CtExtensions limit mean?

RFC 6962 Section 3.2 defines the log entry extensions field as opaque CtExtensions<0..2^16-1>, which means the field can hold at most 65,535 bytes. This is a limit on the extensions field inside a certificate transparency log entry, not on the certificate chain itself. The certificate chain field in a log entry uses a different and much larger bound, of up to 16,777,215 bytes under RFC 6962 Section 3.1. Log operators and monitors should check whether their entries, including extensions, stay within the field limits. Confirm the current limits against the RFC text and the log software you use.

Do the raw public key sizes include the certificate encoding?

No. RFC 9881 Appendix B, Table 2 states that the public key sizes it lists, 1312, 1952 and 2592 bytes for the three ML-DSA parameter sets, are the sizes of the raw keys. They do not include the ASN.1 encoding overhead from the OneAsymmetricKey and SubjectPublicKeyInfo wrappers. A certificate carries the encoded form, so the bytes it adds are larger than the raw values. The AlgorithmIdentifier for ML-DSA must have its parameters field absent, and the identifier is a SEQUENCE containing only the object identifier, as RFC 9881 Sections 2 and 3 state. Measure a real encoded certificate to get the final size.

Can I work out chain sizes myself, or do I need a specialist?

You can calculate the raw figures yourself from the RFCs. Take the signature and public key size for each algorithm from the relevant table, multiply by the number of certificates in the chain, and add the encoding overhead you measure from real certificates. The harder part is accurate encoding, because the wrapper bytes depend on your issuing software, the subject and extension fields and the chosen algorithm identifiers. The cost of outside help depends on the size of your estate, how many certificate authorities and issuing pipelines you run, and whether you need evidence for an assessment. Ask any provider to state the scope of work and the measurements they will deliver in writing before they start.

How DeployOpen helps with post-quantum certificate migration

DeployOpen works on certificate chain sizes by first mapping the leaf, intermediate and root certificates in your deployment, then measuring how each algorithm choice changes the total chain length. The output is a written scope, a tested configuration and documentation your network and security teams can review against their own packet and middlebox limits.

How we scope

  • We inventory the leaf, intermediate and root certificates your TLS endpoints currently present to clients.
  • We record which signature algorithms each certificate in the chain uses, and where your issuing CA supports each one.
  • Engagements are fixed-scope, so the written scope states which chains, endpoints and algorithms are covered.

How we build

  • We build test chains for the algorithm combinations in scope and measure total chain length in bytes.
  • We compare encoded chain sizes against the limits your load balancers, proxies and clients actually enforce.
  • We document which configuration changes are needed on TLS terminators to serve the chosen chains.

How we hand over

  • You receive the measured chain sizes, the test method and the configuration files used for each scenario.
  • The handover includes a list of open questions your CA or vendor must confirm for the versions you run.
  • We walk your engineering and security teams through the results so they can review them independently.

How we support

  • Ongoing support, upgrades and continuous retesting are available as a retainer after the initial handover.
  • A retainer lets us re-measure chain sizes when your CA, TLS library or certificate profile changes.
  • For a quote, ask for the scope in writing, the deliverables list and which parts recur after the first engagement.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.