We Built a Post-Quantum PKI. Here’s What We Measured.

Insights

Insights · Lab Results

We Built a Post-Quantum PKI. Here’s What We Measured.

We built a four-tier post-quantum PKI in EJBCA and measured every object. Two working OCSP profiles differed by 32,906 bytes per response.

cyberzero lab results. Measured DER size in bytes: root CA certificate (SLH-DSA) 30,251; OCSP response with CA chain embedded 45,527; OCSP response with delegated responder 12,621; end-entity certificate (ML-DSA-87) 7,668.

On December 2, NSA urged U.S. National Security Systems owners, operators and vendors to accelerate their transition to post-quantum cryptography immediately. Three weeks earlier, on November 9 and 10, John Spicer built a four-tier post-quantum PKI in the cyberzero lab. We issued and revoked a certificate, checked the results with a second tool, and found that two working OCSP profiles differed by nearly 33,000 bytes per response.

NSA’s list is specific: inventory cryptographic dependencies, including digital signatures and firmware validation; prioritize quantum-resistant firmware signatures and hardware roots of trust; and specify CNSA 2.0 in acquisitions while favouring appropriately validated products (NSA press release, advisory). Our lab covers one part of that work: certificate issuance, revocation and validation in one software stack. It did not exercise firmware signing, secure boot, hardware roots of trust or CNSA 2.0 compliance. What it does show is what those trust decisions cost once they rest on post-quantum certificates.

What We Built and Measured

John built the chain in Keyfactor EJBCA 9.6.3 Community with software keys. In production, CA keys belong in an HSM. The chain has four tiers: three CA tiers and one end entity. The root has an SLH-DSA-SHA2-256s key, signs its own certificate and signs the intermediate certificate. The intermediate CA, issuing CA and end entity each have an ML-DSA-87 key and are signed by the tier above, so from the issuing CA down every signature is ML-DSA-87.

We then revoked the end-entity certificate and published the revocation by CRL and by OCSP, both signed with ML-DSA-87. We validated the certificate chain and verified the signed CRL and OCSP responses with OpenSSL 3.5.4. With the CRL loaded, OpenSSL path validation rejected the end-entity certificate as revoked, and openssl ocsp reported its status as revoked.

Diagram of the four-tier chain. The root CA certificate (30,251 bytes) and intermediate CA certificate (32,831 bytes) carry the 29,792-byte SLH-DSA signature. The issuing CA certificate (7,686 bytes) and end-entity certificate (7,668 bytes) carry 4,627-byte ML-DSA-87 signatures. Also shown: the CRL (4,912 bytes) and the delegated OCSP responder certificate (7,699 bytes).
Figure 1. The four-tier chain, with each certificate’s subject key, issuer signature and measured DER size.

Total is the complete DER-encoded object. Signature is the raw signature value inside it. All sizes were measured on the objects EJBCA produced in the cyberzero lab runs of November 9 and 10, 2026.

ItemSubject keySigned withTotal (bytes)Signature (bytes)
Root CA certificateSLH-DSA-SHA2-256sSLH-DSA-SHA2-256s (self)30,25129,792
Intermediate CA certificateML-DSA-87SLH-DSA-SHA2-256s (root)32,83129,792
Issuing CA certificateML-DSA-87ML-DSA-87 (intermediate)7,6864,627
End-entity certificateML-DSA-87ML-DSA-87 (issuing CA)7,6684,627
Delegated OCSP responder certificateML-DSA-87ML-DSA-87 (issuing CA)7,6994,627
CRL, one revoked entryNot applicableML-DSA-87 (issuing CA)4,9124,627
OCSP response: issuing and intermediate CA certificates embeddedNot applicableML-DSA-87 (issuing CA)45,5274,627
OCSP response: delegated responder certificate embedded, CA chain omittedNot applicableML-DSA-87 (delegated responder)12,6214,627

For scale, an RSA-2048 signature is 256 bytes. An ML-DSA-87 signature is 4,627 bytes, about 18.1 times larger (FIPS 204). An SLH-DSA-SHA2-256s signature is 29,792 bytes, about 116.4 times larger (FIPS 205).

Bar chart of raw signature size: RSA-2048 is 256 bytes, ML-DSA-87 is 4,627 bytes, SLH-DSA-SHA2-256s is 29,792 bytes.
Figure 2. Raw signature size by algorithm, in bytes, with RSA-2048 for scale.

Where the Big Signature Goes

Using ML-DSA-87 below the SLH-DSA root limits the 29,792-byte signature to the root and intermediate certificates in this hierarchy. The issuing CA, end-entity and responder certificates each carry a 4,627-byte ML-DSA-87 signature instead.

That limit does not keep the large signature off the wire. A client that receives the intermediate certificate still receives its SLH-DSA signature. If a server sends the leaf, issuing CA and intermediate certificates to a client that already trusts the root, those three certificates total 48,185 DER bytes before any protocol overhead. That is a calculated total from our measured certificates. We did not measure a live TLS or VPN handshake.

Two OCSP Profiles, 32,906 Bytes Apart

We measured two OCSP configurations in separate runs, and both responses were signed with ML-DSA-87. In the first, the issuing CA signed the response and embedded the issuing and intermediate CA certificates: 45,527 bytes. In the second, a delegated responder signed the response, embedded its own certificate and omitted the CA chain: 12,621 bytes. The smaller profile saved 32,906 bytes, or 72.3%. Because the signer and the embedded certificates both changed between runs, that saving belongs to the profile as a whole.

Bar chart of two OCSP responses: 45,527 bytes with the issuing and intermediate CA certificates embedded, and 12,621 bytes with the delegated responder certificate embedded and the CA chain omitted.
Figure 3. The two measured OCSP profiles, both signed with ML-DSA-87: 45,527 and 12,621 bytes.

The smaller profile is viable where clients can obtain the required issuer certificates and validate the responder’s authorization and trust path, as RFC 6960 requires for a delegated responder. In our run, OpenSSL verified the 12,621-byte response once the CA certificates were supplied separately. Given only the root, verification failed, as it should.

The CRL was 4,912 bytes with one revoked entry. Each additional revoked serial number adds to it, so treat that figure as a floor. Before you choose a revocation profile, test it against your own environment: which clients can fetch or already hold the issuer certificates, how they cache CRLs and OCSP responses, what your revocation policy requires, and how your constrained links handle objects of these sizes.

What We Have Shown and What We Would Test for You

This lab shows that a four-tier post-quantum hierarchy can be issued, revoked and validated with off-the-shelf software, and exactly what each object weighs in that stack. How your clients, links and revocation requirements handle those objects depends on your environment, and that is the part we would test with you.

If you’re planning a PKI refresh, cyberzero can build and test the proposed chain against your actual clients, links and revocation requirements before you commit to it.

We test what we recommend.

Brad McInnis is the founder and CEO of cyberzero, an Ottawa cybersecurity firm, and the creator of Quantanaut, its cryptographic intelligence platform. He has spent 25 years in operational cryptography across NSA, CSE and the Department of National Defence, including key management and cryptographic modernization programs, and was previously Chief Security Architect at Deloitte.

Partners

Trusted by leading organizations.

Contact Us