NIST FIPS 204 (ML-DSA)  |  Self-Signed X.509  |  ML-DSA-44 • 65 • 87

PQC Certificate Generator

Generate a self-signed X.509 certificate signed with ML-DSA (FIPS 204) instead of RSA or ECDSA. Useful for testing post-quantum TLS stacks, staging environments, or any tool that needs to verify it can parse and validate a PQC-signed certificate before a real Certificate Authority offers ML-DSA issuance.

1
Certificate Details
Fill in the subject fields and choose an ML-DSA security level

2
Certificate & Keys
PEM-encoded certificate and matching key pair

Why Test with PQC-Signed Certificates Now

Public Certificate Authorities don't yet issue ML-DSA certificates for production use, but that doesn't mean there's nothing to test today. TLS libraries, certificate parsers, monitoring tools, and internal PKI systems all need code paths that can parse, validate, and chain ML-DSA-signed certificates before that day arrives. Generating a self-signed test certificate is the fastest way to find out whether your stack already handles a larger, differently-shaped signature algorithm correctly — ML-DSA signatures and public keys are considerably larger than their RSA or ECDSA equivalents, and some older tooling makes size assumptions that don't hold.

ML-DSA Certificate Size Comparison

AlgorithmPublic KeySignatureTypical Cert Size
RSA-2048~270 B~256 B~1.2 KB
ECDSA P-256~65 B~70 B~0.7 KB
ML-DSA-441,312 B2,420 B~4 KB
ML-DSA-651,952 B3,309 B~5.5 KB
ML-DSA-872,592 B4,627 B~7.5 KB

That size difference has real consequences for TLS handshake latency, certificate chain transmission, and any hardware or firmware with fixed buffer sizes — another reason to start testing now rather than after a CA offers issuance.

What's in the Certificate

Each generated certificate is self-signed (issuer equals subject), marked as an end-entity certificate (not a CA), and carries a Key Usage extension for digital signature and certificate signing. It's meant for local testing — import it into a browser's trust store, a test TLS server, or a certificate-parsing tool to check compatibility.

References

  1. NIST FIPS 204 — ML-DSA Standard (2024)
  2. IETF LAMPS — ML-DSA in X.509 Certificates
  3. KF-Cipher Dilithium (ML-DSA) tool