Post-Quantum PKI Migration: Planning ML-DSA Certificate Hierarchies
How to migrate PKI to post-quantum: root and issuing CA design, composite or dual certificates, ML-DSA size impact and a phased plan.
Post-Quantum PKI Migration: Planning ML-DSA Certificate Hierarchies
Most post-quantum discussion focuses on key exchange, because recorded traffic can be attacked later. Public key infrastructure is different. Certificates protect authenticity, and the migration problem is less about a single algorithm swap and more about trust anchors, device trust stores, hardware security modules and validation software that all change at different speeds. This article sets out how to plan a certificate hierarchy migration to ML-DSA (FIPS 204), what the size impact looks like, and which transition pattern fits which environment.
Why PKI is the slow part of the migration
Signatures are not a harvest-now problem, but lead time is
An attacker cannot record a certificate signature today and break it later to read data. A forged signature only matters if a cryptographically relevant quantum computer exists at the moment of forgery. That makes the urgency for short-lived signatures lower than for key exchange.
The urgency returns when you consider lifetimes. A root CA created today may be valid for 20 years. A device shipped this year may trust the same root for its entire service life. The transition timeline in NIST IR 8547 deprecates RSA and elliptic-curve signatures after 2030 and disallows them after 2035. The EU coordinated PQC roadmap has a similar shape: begin by the end of 2026, protect high-risk use cases by 2030, and cover as much as feasible by 2035. A root that expires in 2045 and relies on ECDSA will outlive both sets of dates.
Trust anchors are the hardest assets to change
Public-facing leaf certificates are already being pushed towards shorter lifetimes, which helps agility. Trust anchors are the opposite. They sit in operating system stores, embedded firmware, appliance images, mobile applications with pinned certificates and air-gapped networks. Replacing them requires a distribution path, and some devices have none.
For that reason, the planning question is not when ML-DSA will arrive in your CA software. It is which trust anchors must still be valid and trusted in 2035, and how each relying party will learn about a new one.
What changes when a certificate carries ML-DSA
FIPS 204 defines three parameter sets: ML-DSA-44, ML-DSA-65 and ML-DSA-87. The IETF LAMPS working group specifies how these algorithms are identified and encoded in X.509 certificates and CMS structures. Confirm the current publication status of each specification before you fix a design, because related drafts, notably those for composite signatures, have been evolving.
The practical differences for a PKI team are:
- Larger objects. An ML-DSA-65 public key is 1,952 bytes and a signature is 3,309 bytes. An ECDSA P-256 public key is 65 bytes in uncompressed form, and a DER-encoded signature is about 72 bytes.
- Different key usage rules. ML-DSA keys are for signing only. Key establishment uses ML-KEM (FIPS 203), so certificates for key agreement need a different design from the RSA or ECDH certificates that served both purposes.
- New hardware requirements. Your HSMs and signing services must support the algorithm. Look for CAVP algorithm validation and, where you need it, a FIPS 140-3 validated module. Do not assume a firmware update path exists for older appliances.
- Larger revocation artefacts. CRLs and OCSP responses carry signatures too. Both grow, and delta CRLs or short-lived certificates may become more attractive.
Stateful hash-based schemes (LMS and XMSS, covered by NIST SP 800-208) and SLH-DSA (FIPS 205) are options for specific roles, but state management and signature size make them awkward for high-volume issuing CAs. For most hierarchies, ML-DSA is the working assumption, with SLH-DSA considered where a conservative hash-based assurance argument is worth the size cost.
Choosing a migration pattern
There is no single transition format. The right choice depends on who validates your certificates and how fast you can update them.
| Pattern | How it works | Strengths | Limitations |
|---|---|---|---|
| Classical only, with a cut-over date | Keep RSA or ECDSA until a planned switch to ML-DSA | Simplest to operate today | Hard cut-over risk and no early validation; unsuitable for roots living past 2030 |
| Parallel hierarchy | Run a separate ML-DSA PKI alongside the classical one and issue two certificates | No new certificate format; clean separation | Two PKIs to govern, audit and keep in sync; endpoints must handle two certificates |
| Composite certificates | One certificate carries a classical and an ML-DSA signature, and both must verify | Single certificate; security holds if either algorithm holds | Validators must understand the composite format; standards still maturing |
| Alternative-signature extensions | A classical certificate carries a second public key and signature in non-critical extensions (ITU-T X.509 alternative signature extensions) | Legacy clients ignore the extensions and keep working | Added size; legacy clients get no post-quantum protection; policy on which signature is authoritative must be explicit |
| Pure ML-DSA | Certificates use only the post-quantum algorithm | Smallest post-quantum footprint; no classical dependency | Every relying party must support ML-DSA; no fallback |
For most enterprises, private PKI will move first, using a parallel hierarchy or pure ML-DSA in controlled environments such as internal services, machine identity and device attestation. Composite and alternative-signature approaches are most relevant where mixed client populations cannot be upgraded together.
Worked example: what a chain does to a TLS handshake
Consider a server that presents a leaf certificate and one intermediate CA certificate. The root is already in the client trust store and is not sent. Count the signature-related material in the handshake:
- Public keys: the leaf key and the intermediate key, so 2 in total.
- Signatures: the intermediate's signature on the leaf, the root's signature on the intermediate, and the leaf's CertificateVerify signature, so 3 in total.
With ECDSA P-256, that is roughly 2 × 65 bytes for keys plus 3 × 72 bytes for signatures, about 346 bytes.
With ML-DSA-65 throughout:
- Keys: 2 × 1,952 = 3,904 bytes
- Signatures: 3 × 3,309 = 9,927 bytes
- Total: 13,831 bytes
That figure excludes certificate metadata, names, extensions and any embedded Signed Certificate Timestamps, each of which adds further signatures on the public web. A common initial TCP congestion window is 10 segments, around 14,600 bytes at a 1,460-byte segment size. The cryptographic material alone nearly fills it, and once overhead is added the server flight will probably need an additional round trip before the client can finish the handshake.
This does not make ML-DSA unusable. It shows three things to test early: handshake latency on high-RTT links, buffer limits in embedded TLS stacks, and middleboxes that mishandle large handshake messages. Reducing chain depth, avoiding unnecessary intermediates and using certificate compression where supported all help. Treat the figures above as a planning estimate and measure on your own stack.
A phased plan for the PKI team
Phase 1: inventory and hierarchy review
List every CA, including forgotten ones. Record the key algorithm, key size, validity end date, HSM or software key storage, issuing policy and every relying party. A cryptographic bill of materials is the natural place to hold this. Flag any trust anchor valid beyond 2030, and any issuing CA whose certificates are embedded in devices you cannot update remotely.
Use the review to simplify. Many organisations have deep hierarchies built for reasons that no longer apply, and every extra tier costs signature bytes and operational effort.
Phase 2: readiness of tooling and hardware
Check whether your CA software, HSMs, certificate lifecycle management tools, load balancers, service meshes, code-signing services and validation libraries support ML-DSA. Check path validation behaviour, ASN.1 size limits and name constraint handling, because parsers written with small, fixed-size buffers often fail first. Ask vendors for roadmaps and written evidence rather than assurances; the questions in a supplier risk review apply here as well.
Phase 3: private PKI pilot
Stand up a test hierarchy with ML-DSA, ideally an offline root plus one issuing CA. Run a key ceremony that mirrors production procedure, including witnessing, backup and recovery. Issue certificates to non-critical internal services and measure handshake size, latency, revocation behaviour and failure modes. Run a rollback drill to confirm you can revert cleanly.
Phase 4: staged production rollout
Start with workloads you fully control: service-to-service mTLS, internal APIs and device identity for new hardware. Introduce new trust anchors well ahead of the first certificates that depend on them, since distribution is the slowest step. Keep classical issuance running where legacy clients require it, with an explicit retirement date aligned to your regulator and to NIST IR 8547. The NCCoE practice guide on migration to post-quantum cryptography (NIST SP 1800-38) offers useful implementation references for this stage.
Governance throughout
Update the certificate policy and certification practice statement for any new hierarchy. Define who approves algorithm choices, how long classical and post-quantum certificates may coexist, and what evidence an auditor will expect. Shorter certificate lifetimes, including the phased reduction agreed by the CA/Browser Forum for publicly trusted TLS certificates, reinforce the case for automated issuance, which is the same capability you need for algorithm change.
Where IQCDL fits
IQCDL helps PKI owners and security leaders show they can plan and govern this kind of migration. You can benchmark your current knowledge with the IQCDL assessment, explore role-based learning paths in our programmes, and review the standards and frameworks our curriculum maps to on the standards page.
Frequently asked questions
Do harvest-now-decrypt-later attacks apply to certificates?
Not directly. A certificate signature protects authenticity, not confidentiality, so an attacker cannot retrospectively break it from recorded traffic. The risk is that a future quantum computer could forge signatures made with RSA or ECDSA keys that are still trusted. Long-lived roots, device trust stores and firmware are most exposed, because they stay trusted for years.
Can I use ML-DSA certificates on the public web today?
Publicly trusted certificates are governed by browser root programmes and the CA/Browser Forum baseline requirements, and these have not yet adopted post-quantum signature algorithms. Check current programme policy before planning. Private PKI, where you control both issuance and validation, is the realistic place to pilot ML-DSA now.
Should we choose composite certificates or dual certificates?
It depends on your relying parties. Composite certificates bind a classical and a post-quantum signature into one certificate, which needs validators that understand the composite format. Dual or parallel hierarchies need no new certificate format, but you run and govern two PKIs. Test both against your actual clients before committing.
What is the first practical step for a PKI team?
Inventory every CA, its key algorithm, its remaining validity and every system that pins or stores its certificates. Then identify any root or issuing CA whose validity extends beyond 2030, because those are the keys most likely to outlast the deprecation dates in NIST IR 8547.