Post-quantum certificates

ZanPKI can make certificate authorities and certificates with ML-DSA keys. ML-DSA is the post-quantum signature standard published by NIST as FIPS 204, and RFC 9881 says how X.509 certificates use it. A certificate signed with ML-DSA can't be forged even by a future quantum computer, which would break ECDSA and RSA.

ML-DSA comes in three levels: ML-DSA-44, ML-DSA-65 and ML-DSA-87. We recommend ML-DSA-87, the strongest.

A new authority or certificate starts at RSA 4096, signed with SHA-384, because every browser and almost all software accept it. Choose ML-DSA where you control the software that checks the certificate. The curves (EC P-521, P-384 and P-256) are still offered for clients that need one. Chrome stops trusting P-256 authority keys in public roots on March 15, 2027, so don't choose P-256 for a new authority.

What you can make

  • Root and intermediate authorities with an ML-DSA key.
  • Certificates and signing requests with an ML-DSA key, issued by any of your authorities, whatever its own key is.
  • Revocation lists signed by an ML-DSA authority.

You can mix key types in one hierarchy. For example, a P-384 root can issue ML-DSA-87 certificates, and an ML-DSA-87 root can issue P-256 certificates. An ML-DSA key always signs with pure ML-DSA, so there's no digest to choose: leave the digest empty, or choose "pure ML-DSA".

Profiles

The built-in profiles accept every key type, ML-DSA included. A profile your organization made keeps the key types it was saved with, so to issue ML-DSA certificates with it, edit the profile and add the ML-DSA key types you want.

Where ML-DSA certificates work today

ML-DSA certificates are new, and much of the software that checks certificates doesn't accept them yet. Check the software that will read your certificates before you choose ML-DSA.

The first answer is for an ML-DSA certificate under an ML-DSA authority, the second for an ML-DSA certificate under an RSA 4096, EC P-384 or EC P-521 authority.

  • Chrome 158, with your root trusted on the computer: yes, and yes.
  • Safari, and other software that uses macOS's certificate checks: no, and no.
  • Java 25: no, and no.
  • Firefox: not tested.
  • OpenSSL 3.5 and later, and software built on it (curl, nginx, HAProxy, PostgreSQL): yes, and yes.
  • Go 1.27 programs talking to other Go programs: yes, and yes.
  • A Go client connecting to an OpenSSL server: no, and yes.
  • An OpenSSL client sending its certificate to a Go server: no, and yes.
  • OpenSSH: no, because it doesn't use X.509 certificates.

What this means in practice:

  • Don't use ML-DSA for a website that many people open. Safari can't read it, and Firefox hasn't been tested. Use RSA 4096 for websites.
  • For your own servers and clients, an ML-DSA-87 certificate issued by an RSA 4096 authority works with everything in the list above except Safari, Java and OpenSSH.
  • An all-ML-DSA hierarchy works between programs built on the same library (OpenSSL with OpenSSL, Go with Go), and from a Go server to an OpenSSL client. It fails in the two mixed cases above, because Go 1.27 doesn't yet list ML-DSA among the signatures it accepts on certificates.
  • ML-DSA needs TLS 1.3. A client that only speaks TLS 1.2 can't connect to a server that uses an ML-DSA certificate.

Sizes

ML-DSA certificates are larger than EC ones. A self-signed ML-DSA-87 certificate is about 7.5 KB, against under 0.5 KB for EC P-384. In our measurements, a server with an all-ML-DSA-87 chain sent about 14 KB in its handshake, and 21.6 KB with an intermediate authority, against 2.5 KB for an all-P-384 chain. The handshake itself was not slower. A chain over about 14 KB probably costs one more network round trip on a new connection. We worked that out but haven't measured it.

Exporting keys

A PKCS #12 file can hold an ML-DSA key, but few keystores and operating systems can import one yet. Export the key and certificate as PEM files when the software reading them supports it.

Toda a documentação