Certificate signing request sizes by key algorithm

The largest fields in a request are the ML-DSA signature, at 2420 to 4627 bytes, and the SLH-DSA signature, at 7856 to 49856 bytes. Each figure below cites the RFC it comes from.

On this page

Algorithm key and signature sizes in bytes for a certificate signing request

The largest fields in a certificate signing request are the ML-DSA signatures of 2420 to 4627 bytes and the SLH-DSA signatures of 7856 to 49856 bytes. Because a CSR carries the subject public key and exactly one signature, these two figures set the size of the request for post-quantum signature algorithms. The ML-DSA figures come from RFC 9881 Appendix B, Table 2, which gives 2420, 3309 and 4627 bytes for ML-DSA-44, ML-DSA-65 and ML-DSA-87. The SLH-DSA figures come from RFC 9909 Appendix B, Table 1, which spans the parameter sets at levels 1, 3 and 5. The table gives raw key and signature sizes, so the encoded request will be somewhat larger once ASN.1 wrapper overhead is added. Confirm the exact encoded length for your parameter set in your own environment.

This table is for teams sizing issuance pipelines, certificate request logs and request buffers, where a request must fit a fixed message or storage limit. Note that RFC 2986 sets no numeric size limits for a CertificationRequest. Its design minimizes request size by leaving out the issuer name, serial number and validity period, but the maximum length of a request is set by your own components and by the certificate authority's intake rules, not by the RFC. Check the limits in your issuance software, load balancer and logging system against the largest signature size you plan to accept, and ask your certificate authority which request sizes it will process.

Key and signature field sizes in bytes for each algorithm in a CSR

This table lists the public key, signature and private key field sizes in bytes for each algorithm a certificate signing request can carry, with the RFC that gives each figure. Because a CSR holds the subject public key and one signature, the public key and signature columns show the largest fields a request contributes, and each figure is a raw size without ASN.1 wrapper overhead. Blank cells mark values the cited sources do not give in this form, so confirm those against the specification before sizing a pipeline or log.

AlgorithmPublic key (bytes)Signature (bytes)Private key (bytes)Source
ML-DSA-441312242032 seed, 2560 expandedRFC 9881, Appendix B, Table 2
ML-DSA-651952330932 seed, 4032 expandedRFC 9881, Appendix B, Table 2
ML-DSA-872592462732 seed, 4896 expandedRFC 9881, Appendix B, Table 2
SLH-DSA level 1327856 to 49856 across levels64RFC 9909, Appendix B, Table 1
SLH-DSA level 3487856 to 49856 across levels96RFC 9909, Appendix B, Table 1
SLH-DSA level 5647856 to 49856 across levels128RFC 9909, Appendix B, Table 1
Ed255193264Not given in the cited sourceRFC 8032
Ed44857114Not given in the cited sourceRFC 8032

How to read the CSR size figures in this table

Every size in this table is the encoded length of a certification request, so the key and signature columns are only part of what you will see on the wire or in your logs. Per RFC 2986 Section 4.2, a CertificationRequest is a SEQUENCE of three parts: the certificationRequestInfo, which carries the subject name and the subject public key; the signatureAlgorithm identifier; and a signature BIT STRING. The signature is made over the DER encoding of certificationRequestInfo using the subject's private key. A request therefore carries one public key and one signature, and the size of each request is driven mainly by those two fields. RFC 2986 sets no numeric size limits, and its Note 4 in Section 3 explains that the design keeps requests small by omitting the issuer name, serial number and validity period, which belong to the certificate the CA later issues. Confirm the exact encoded length for your own subject names and extensions, since those vary per request and this table does not include them.

The ML-DSA figures need a careful reading. The public key and signature sizes for ML-DSA-44, ML-DSA-65 and ML-DSA-87 are raw sizes, without the ASN.1 wrapper overhead added by the OneAsymmetricKey and SubjectPublicKeyInfo structures. RFC 9881 Appendix B, Table 2 lists the public keys at 1312, 1952 and 2592 bytes and the signatures at 2420, 3309 and 4627 bytes for NIST security levels 2, 3 and 5. Those raw figures will be smaller than the bytes that appear inside a real request, so add the encoding overhead when you size a pipeline or a log buffer. The security level numbers 2, 3 and 5 are the levels RFC 9881 assigns to each parameter set, and the same numbering appears in RFC 9909 for SLH-DSA, where levels 1, 3 and 5 are used. Private key columns describe material the subject keeps locally; a certification request does not transmit them. Read those columns to plan key storage, not request traffic.

Where a 2420 to 49856-byte signature changes request and log sizing

A certification request carries one public key and one signature, so the algorithm choice sets how large each request becomes. The cards below cover the places where those larger fields reach issuance systems, logs and transport, and what to check in each.

Issuance pipeline request buffers

Issuance systems often read a request into a fixed-size buffer or parse it with a length cap set years ago for classical keys. A request carrying an ML-DSA public key of 1312 to 2592 bytes and a signature of 2420 to 4627 bytes is considerably larger than an Ed25519 request, which carries a 32-byte public key and a 64-byte signature. Check every component that reads a request, including proxies, web frameworks and the certificate authority's intake, for a size limit that the new fields would exceed.

ML-DSA-44 signature
2420 bytes
RFC 9881 sizes

CSR logs and storage

Many teams keep a copy of every certification request in logs, audit stores or ticketing records. Each stored request grows with the size of its key and signature fields, so a log retention policy sized for classical requests may need more space once post-quantum keys are issued. Estimate growth from the raw field sizes in the table, then add ASN.1 wrapper overhead measured in your own environment, since the RFC 9881 figures exclude it.

Request transport between systems

A request often moves between a registration authority, an automation client and a certificate authority, sometimes over HTTP APIs that wrap the request in JSON or another encoding. The encoding step can add overhead beyond the raw DER bytes. Measure the request as sent over each hop, not only as generated, and confirm that every intermediary accepts a body of that size.

Open-ended request length in RFC 2986

RFC 2986 defines the CertificationRequest structure but sets no numeric size limit on it. The design leaves out the issuer name, serial number and validity period to keep requests small, yet it does not bound the key or signature fields. Any ceiling on request length therefore comes from your own software, load balancers and certificate authority, so confirm each of those limits directly with its operator.

RFC 2986 text

Hash-based signature requests

SLH-DSA signatures are considerably larger than ML-DSA signatures, running from 7856 to 49856 bytes across the parameter levels in RFC 9909. A request signed with an SLH-DSA key therefore carries the largest signature field of the algorithms covered here. Treat these requests as the upper bound in sizing, and confirm the exact encoded length for the parameter set you use.

RFC 9909 sizes

ML-DSA and SLH-DSA sizes in a CSR, one tab per parameter set

ML-DSA-44 is the parameter set at NIST security level 2 in RFC 9881, which is the Standards Track document on ML-DSA algorithm identifiers for X.509 certificates. RFC 9881 Appendix B, Table 2 (ML-DSA Parameters) gives the sizes for this set in bytes. The figures below are raw key and signature sizes, so the ASN.1 wrapper overhead of a CSR is not included.

  • Public key: 1312 bytes, listed for level 2 in RFC 9881 Appendix B, Table 2. This is the subject public key carried in the request.
  • Signature: 2420 bytes, listed for level 2 in RFC 9881 Appendix B, Table 2. One signature is carried in the request.
  • Private key: 32-byte seed at this level, and an expanded private key of 2560 bytes, both in RFC 9881 Appendix B, Table 2. The private key is not sent in the CSR.
  • Naming: ML-DSA-44 is the name used in RFC 9881 for this parameter set.

Confirm the exact encoded length of your CSR with your own tooling, because the ASN.1 wrappers add bytes beyond these raw figures. Check the RFC 9881 table at RFC 9881 before you rely on any figure.

Checking the CSR size for your algorithm before you size buffers

This sequence confirms which algorithm and parameter set your CA and client support, then measures the encoded request length so your buffers and logs are sized against real output rather than estimates. Each step ends with a check you can record. The sizes come from the RFC tables cited on this page, and the final compatibility check rests on your CA's own documentation.

  1. Confirm the algorithm and parameter set

    Start by listing the key algorithm and parameter set you intend to request, such as ML-DSA-44, ML-DSA-65, ML-DSA-87, an SLH-DSA parameter set, Ed25519 or Ed448. Then check with your CA's documentation and your client library that both support that exact combination. Do not assume that support for an algorithm family covers every parameter set within it. The step is complete when you have a written list of the algorithm and parameter set pairs your CA and client both accept, with the source document for each entry.

  2. Read the key and signature sizes from the RFC tables

    For each confirmed pair, look up the public key size and the signature size in the matching RFC table. For ML-DSA, use Appendix B, Table 2 of RFC 9881, which gives public key sizes and signature sizes for ML-DSA-44, ML-DSA-65 and ML-DSA-87. For SLH-DSA, use Appendix B, Table 1 of RFC 9909. For Ed25519 and Ed448, use RFC 8032. These figures are raw sizes without ASN.1 wrapper overhead, so record them as the floor for the request. The step is complete when each pair has a recorded public key size and signature size, labelled as raw values.

  3. Add the request overhead for your encoding

    A CSR also carries the subject name, the algorithm identifiers and the ASN.1 and DER wrappers around the public key and signature. The RFC 2986 structure is a SEQUENCE of the request information, the signature algorithm and the signature BIT STRING, and the signed portion is the DER encoding of the request information. Work out the overhead from the encoding your tooling produces, because the sources on this page do not give a fixed overhead figure. The step is complete when you have a written overhead estimate for your subject fields and encoding, marked as an estimate until the next step confirms it.

  4. Generate a test request and measure it

    Generate a real CSR with the chosen algorithm and parameter set, using the same tooling and subject fields your issuance pipeline uses. Measure the DER-encoded length of the output file in bytes. Compare the measured length with the sum of the raw key and signature sizes plus the overhead from the previous step. A large difference usually means a subject field or extension was added that your estimate did not include. The step is complete when you have one measured length per pair and a note on any gap from the estimate.

  5. Test the request against buffer and log limits

    Check each measured length against the buffer sizes in your issuance service, the request size limits in your web server or API gateway, and the maximum field lengths in your logging pipeline. Set the buffer size with headroom above the largest measured request, and confirm that any log field holding the request can store the full length without truncation. Test with the largest parameter set you plan to offer, since it produces the longest request. The step is complete when each limit has a recorded pass or fail result for each measured request.

  6. Confirm compatibility with your CA documentation

    Before relying on the sizes, read your CA's documentation for accepted algorithms, parameter sets and any request size restrictions. Confirm that the CA accepts the exact request you generated, and record the document title and version you checked. If the CA documentation does not name the algorithm or parameter set, ask the CA directly and keep the answer. The sources on this page do not establish that any CA accepts a given algorithm, so this check is the one that decides whether the sizes apply to your deployment. The step is complete when you have a written confirmation from the CA documentation or the CA itself for each pair you plan to use.

What CSR size figures do not tell you

The key and signature sizes in this table are raw field lengths, so they do not give the length of the request you will actually send or store. A certification request is a DER-encoded structure that wraps the subject public key and one signature in ASN.1 SEQUENCE and BIT STRING headers, and it also carries the subject name, the signature algorithm identifier and the attributes. RFC 2986 defines this structure in Section 4.2, and it sets no numeric size limits. The sources listed on this page do not publish a total encoded CSR length for any algorithm, so a figure in this table is a component size, not the size of a request.

Two things make the encoded length differ from the table. First, the ML-DSA public key sizes and signature sizes in RFC 9881 are stated as raw sizes that exclude the ASN.1 wrapper overhead, so every wrapper you add is on top of them. Second, the length depends on the implementation: the subject name, the extensions requested, the encoding choices and the library version all change the byte count. Two tools signing the same key can produce requests of different lengths, and the sources do not state a fixed overhead you can subtract.

Measure the requests your own pipeline produces. Generate a request with the key type, parameter set and tooling you run, then record its byte length with openssl req or your library's equivalent, and check the result against the packet, log field and storage limits you have to meet. Confirm the encoding and the signature algorithm identifier your CA and your software accept, since RFC 2986 leaves those details to the implementation. Repeat the measurement after any library upgrade.

Questions people ask about CSR and key sizes

How big is an ML-DSA signature in bytes?

An ML-DSA signature is 2420 bytes at the ML-DSA-44 parameter set, 3309 bytes at ML-DSA-65 and 4627 bytes at ML-DSA-87, according to RFC 9881 Appendix B, Table 2. These are the signature sizes for the parameter sets at NIST security levels 2, 3 and 5. The figures are raw sizes. Once the signature is placed inside the ASN.1 BIT STRING of a certification request, the encoded length grows by a small amount of wrapper overhead, so the byte count inside a real CSR will be somewhat larger than the raw value. Teams should measure the DER output of their own tooling rather than adding the raw figure to other fields and assuming the total. The choice of parameter set is the main driver of signature size, so a team that needs the smallest request should confirm which parameter set its issuing certificate authority accepts before planning storage or log retention.

How big is an Ed25519 signature in bytes?

An Ed25519 signature is 64 bytes, and an Ed25519 public key is 32 bytes, according to RFC 8032. Both values are the raw field sizes defined in the algorithm specification. As with ML-DSA, a certification request adds ASN.1 wrapper bytes around the key and signature fields, so the encoded request is longer than the sum of the raw values. The gap between Ed25519 and the ML-DSA parameter sets is large: the ML-DSA-44 signature alone is more than thirty-seven times the length of an Ed25519 signature by raw byte count. Teams comparing request sizes should therefore expect the signature field to dominate the difference between an Ed25519 CSR and an ML-DSA CSR, while the subject name, extensions and attributes stay roughly the same across both. Confirm the exact encoded length by generating a test request with the toolchain you run in production.

How does an ML-DSA CSR compare with an Ed25519 CSR in size?

The sources give the key and signature fields for both algorithms, so the comparison can be made from the raw values. An Ed25519 request carries a 32-byte public key and a 64-byte signature, as RFC 8032 defines them. An ML-DSA request carries a public key of 1312, 1952 or 2592 bytes and a signature of 2420, 3309 or 4627 bytes, depending on the parameter set, according to RFC 9881 Appendix B, Table 2. The sum of the two raw key and signature fields is therefore roughly 96 bytes for Ed25519 against several thousand bytes for ML-DSA. The subject name, attributes and extensions are the same kind of content in both cases, so they do not explain the gap. The practical consequence is that issuance pipelines, logs, queues and storage that hold CSRs will hold much larger objects after a migration. The sources do not give a total encoded length for a complete request under either algorithm, so teams should measure the full DER output of a representative request before sizing anything.

Does an SLH-DSA signature fit in a single network packet?

The sources in this topic do not give a packet size limit, so they cannot say whether an SLH-DSA signature fits in one packet. What they do give is the signature size. RFC 9909 Appendix B, Table 1 lists SLH-DSA signatures from 7856 to 49856 bytes across the security levels 1, 3 and 5. Those are raw sizes, and an encoded certification request adds wrapper bytes on top. The signature range is wide, so the answer depends on which parameter set is chosen. Whether a request of that size can cross a given network path in one packet depends on the path's maximum transmission unit and on any middleboxes in the route, and those values are not covered by the sources listed here. Readers who need to answer the packet question should check the MTU and middlebox limits of their own network and test the encoded request against them directly.

What is the size of an ML-DSA private seed?

The ML-DSA private seed is 32 bytes at every security level, according to RFC 9881 Appendix B, Table 2. This is the compact form of the private key, and it is what most tooling stores and exchanges. The expanded private key is much larger: the sources give 2560 bytes for ML-DSA-44, 4032 bytes for ML-DSA-65 and 4896 bytes for ML-DSA-87. The seed does not appear in the certification request itself, since a CSR carries the public key and one signature. The seed matters for key storage, backup and handling inside the signing system. Teams should confirm whether their hardware security module, key management service or software library stores the seed or the expanded key, because that choice changes the storage footprint of each key the organization holds.

Where do the sources define the certification request structure?

The certification request structure is defined in RFC 2986, Section 4.2. That section describes a CertificationRequest as a SEQUENCE of three parts: the certificationRequestInfo, the signatureAlgorithm and a signature BIT STRING. The signature is made by DER-encoding the certificationRequestInfo and signing that octet string with the subject's private key. RFC 2986 sets no numeric size limits, and its Note 4 in Section 3 explains that the design keeps requests small by leaving out the issuer name, serial number and validity period. The algorithm identifiers for ML-DSA are defined in RFC 9881, and the identifiers for SLH-DSA are defined in RFC 9909. Readers who want to check the field layout of a specific algorithm should read those documents together with RFC 2986 and confirm the encoding against the toolchain they run.

Where the CSR's key and signature travel from key generation to the CA

The flow starts when the subject generates a key pair, which supplies the public key that goes into the request. The client then builds certificationRequestInfo, which holds the subject name and the subject public key, and DER-encodes it into an octet string. That octet string is signed with the subject's private key, and the result is placed in the signature BIT STRING alongside the signatureAlgorithm. The complete CertificationRequest is then sent to the CA. Check the public key and signature fields first, since for ML-DSA and SLH-DSA they are the largest values in the request. Per RFC 9881 Appendix B, the ML-DSA public key and signature sizes are raw values and exclude ASN.1 wrapper overhead, so the encoded request will be somewhat larger.

Flow of the public key and signature from key generation to the CA.

How DeployOpen helps teams size post-quantum requests

DeployOpen works through certificate signing request sizing as a scoped engagement inside your own infrastructure. We start from the key and signature algorithms your issuance pipeline actually uses, check the encoded request lengths against the RFC sources on this page, and hand over a sizing record your team can review.

How we scope

  • We confirm which key types and parameter sets your issuance pipeline and logs must handle, such as ML-DSA levels or SLH-DSA sets.
  • We agree the written scope for each algorithm in scope, including which request fields and encodings are measured.
  • We record which RFC sizes apply to your versions, and list the points you still need to confirm with your CA or vendor.

How we build

  • We generate test requests under each agreed algorithm and measure the encoded CertificationRequest lengths in your environment.
  • We compare measured lengths with the raw key and signature sizes in RFC 9881, RFC 9909 and RFC 8032, noting the ASN.1 overhead.
  • We test that your issuance pipeline, logging and storage accept the request sizes we measured without truncation or rejection.

How we hand over

  • We deliver a sizing document listing each algorithm, its measured request length and the source of each figure.
  • We include the test scripts and configuration used, so your engineers can rerun the measurements after upgrades.
  • We walk your team through the results and the open items that still need confirmation from your certificate authority.

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • Ongoing support is available as a retainer for re-measuring requests after library, CA or algorithm updates.
  • For a quote, share your target algorithms, pipeline components and logging setup, and we will scope the work from those.

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.