Open Bug 2085752 Opened 1 month ago Updated 2 hours ago

Predictable CSPRNG in Serial Generation

Categories

(CA Program :: CA Security Vulnerability, defect)

defect

Tracking

(Not tracked)

ASSIGNED

People

(Reporter: rdaurne77, Assigned: bwilson)

Details

Attachments

(2 files)

14.12 KB, application/x-zip-compressed
Details
732.21 KB, application/x-zip-compressed
Details

Before we start: don't panic there's no compromised Roots/SubCAs.

Warning: The following research involves entropy, serials, and AI. Consider this a glorified bruteforce.

Been on a bit of a dive over the weekend checking where CSPRNGs are not really being used by CAs. This is preliminary research as the full scope would require a lot of resources and time, but I think the initial pieces are very interesting.

Scope: CAs chaining to Apple, Chrome, or Mozilla. Microsoft-only CAs have their own section given how broad a base that covers - unless it's code-signing.
Timeframe: Held in CCADB, on a CT log 2026-10-09 to 2026-10-24, or captured OCSP responses.

My initial thought on eMudhra's response was that we've seen what can happen when Key Generation Ceremonies deviate. Can we find where else this has happened without access to the CA's records? Further to that, can we infer ongoing mis-issuance and recover PRNG state of issuance systems passively?

Background

We're all aware of the eMudhra situation: a script issue, but they were also handling low-entropy key material. I have already done a quick pass on multiple cryptanalytic attacks for all records in CCADB before 4 became public, so let's approach this from a different angle.

The Baseline Requirements defines a CSPRNG as:

CSPRNG: A random number generator intended for use in a cryptographic system.

Every certificate profile in 7.1.2 has:

serialNumber: MUST be a non‐sequential number greater than zero (0) and less than 2¹⁵⁹ containing at least 64 bits of output from a CSPRNG.

2012-07-01: BR 1.0.0 section 9.6: CAs SHOULD generate non-sequential serial numbers that exhibit at least 20 bits of entropy.
2016-09-30: BR 1.3.7 section 7.1 (Ballot 164): CAs SHALL generate non-sequential serial numbers greater than zero containing at least 64 bits of output from a CSPRNG.
2023-09-01: S/MIME BR 1.0.0 section 7.1: the same 64 bits, and less than 2^159.
2023-09-05: Code Signing BR 3.4: the same 64-bit wording.
2023-09-15: BR 2.0.0 (the SC-62 profiles): each profile in 7.1.2 says serialNumber MUST be a non-sequential number greater than zero and less than 2^159 containing at least 64 bits of output from a CSPRNG.

If you've been around the security industry for enough time you'll remember why: Flame and MD5 chosen-prefix collision certificates found in the wild (2012). If you've been around CAs for a while, you'll recall the 2019 incident flood over serial entropy not being 64 bits. CAs have largely 'fixed' this now by having serials long enough (~20 octets), to pass-off as CSPRNG and by using a prefix on the serial to stop DER encoding from collapsing the value.

As an aside: the one current outlier on serial octets >8 is GoDaddy who insist on 64-bits exactly. This used to also include eMudhra but after I pestered them over email a few times they concluded it was easier to fix their systems than deal with my reports. Lints have tried to go off of octet length in the past, but without a prefix on your serial it's been stuck in limbo forever. Well that, and the word entropy causes people's brains to melt.

The plan: Take existing well-known PRNGs that can feasibly exist near a HSM or issuance system, and run the numbers on their outputs against serial numbers. On a single-certificate basis this is going to have some false-positives by design: throw enough PRNG generators and seeds and there'll be a collision somewhere. On the issuance-side, we have a pool of certificates issued effectively-sequentially to actually prove no CSPRNG is involved.

...Or rather that was the plan until the main culprit came along and let me do a more focused area of research.

The Main Culprit - Predictable EJBCA

The main focus of this report will be EJBCA - with the caveat that the Community Edition code is our reference. Let's have a look at this 2016-05-25 commit: https://github.com/Keyfactor/ejbca-ce/commit/b5fbf3a17ed6fd66289f3dd8ab7c2258bde5480b

EJBCAINTER-115: use default (secure) seeding of SecureRandom for certificate serial numbers. Make it configurable to use the OS default random, which on Linux means /dev/(u)random whic is very secure.

The security researchers and applied cryptographers in the audience just winced. This commit is in preparation for the change in the BRs, but CAs need to update their software.

I can do a dive into historic misuses of /dev/(u)random but I'll limit myself as this report will be primarily SHA1PRNG: it's seeded and we have an early boot issue. Worse than that, given HSMs and issuance systems are supposed to be embedded devices with near-zero user interaction they can lack good sources of entropy. For more information here's some talks I publicly reviewed as they were presented, there's much more than this these just jumped to mind:

32c3 (2015): The plain simple reality of entropy by Filippo Valsorda (Sorry Filippo, it was the most relevant talk in my catalogue over /dev/random misuse. Pre-talk is worth listening too...)
33c3 (2016): Wheel of Fortune by Jos Wetzels and Ali Abbasi (Now let's apply it to embedded systems...!)

The majority of this report will be pure data, as we don't need my narration for this mess - it's long enough already. It's going to be a wild ride of state reconstruction, and you should worry about other CSPRNG sources claimed to be used while reading this. Also: we're not diving that deep into each stream, and computationally this is literally just a weekend check off of a single machine. In short: I think we have Problems.

EJBCA's Serial Generation Timeline

If we focus on SernoGeneratorRandom.java and cesecore.properties.sample, in Keyfactor/ejbca-ce's main branch.

  • 2008-02-06, c36ec93 (ECA-703): the serial size becomes configurable, down to 32 bits.
  • Until 2016-05-25: the ca.rngalgorithm generator, SHA1PRNG by default, is seeded once at startup with the clock:

    long seed = Math.abs((new Date().getTime()) + this.hashCode()); random.setSeed(seed);

  • 2016-05-25, b5fbf3a (EJBCAINTER-115): the time seed is removed, so SHA1PRNG seeds itself from the OS on first use. Adds the option default, the OS generator. First released in 6.5.3 (2016-06-21) and 6.2.6.6 (2016-08-02).
  • 2016-07-23, 2da85c1 (EJBCAINTER-115): defaultstrong added (getInstanceStrong(), JDK 8, usually blocking). default becomes new SecureRandom().
  • 2019-03-01, 9231246 (ECA-4991): octet size per CA. The generator's built-in default goes from 8 octets to 20 for new CAs. Existing CAs keep their size.
  • 2019-03-18, afd2526 (ECA-7989): new BigInteger(bytes).abs() becomes new BigInteger(8 * octets - 1, random), with one generator per octet size. Layout only, no change to seeding:

    // initBitsOfEntropy is 1 less than octet size, because we always use positive integers, which in two complements representation always has the most significant bit 0, making 63 bits random

  • 2019-03-18, e3b32db (ECA-7987): the class comment explaining serial generation. It still describes abs() and says the generator "is not designed to generated a specified level of entropy" (sic).
  • 2020-06-24, 9130344 (ECA-9248): BCSP800Hybrid (Bouncy Castle SP 800-90 DRBG) offered "to prove a FIPS compliant method in use", and DRBG listed. The default is still SHA1PRNG, and SP 800-90 is a bold claim.
  • 2021-03-25, 12fad18 (EJBCAINTER-79): PKCS11 documented, for using the HSM's own generator.
  • 2024-11-01, 6bf326b (ECA-12759): the Helm chart exposes EJBCA_RNGALGORITHM, defaulting to default for containers.
  • 2025-02-06, 904b374 (ECA-12835): the default becomes BCSP800Hybrid. defaultstrong is removed, and the options move into RandomHelper.

So before 2016-05-25 the default configuration never gave a CSPRNG-seeded serial: SHA1PRNG takes the clock seed as its whole state, and only an OS-backed algorithm such as NativePRNG, chosen by hand, mixed it into OS entropy. The fix was in the code, not the configuration: ca.rngalgorithm stayed SHA1PRNG for new and existing installations until 2025-02-06, and from 6.5.3 that SHA1PRNG seeds itself.

A clock-seeded serial in the abs layout after mid-2016 is EJBCA from before the fix, still running. Every stock option since then seeds from the OS or an HSM. The only setting left that decides 64 bits is the octet size: 8 octets still gives about 63. As an interesting detail: a clock-seeded serial in the post-2019 serial layout cannot come from stock EJBCA of any version, and yet they exist...

Trusting BCSP800Hybrid Is Not A Fix

Since 904b374 (2025-02-06), EJBCA's default builds a Bouncy Castle Hash_DRBG (SHA-512) seeded once from SecureRandom.getInstanceStrong(). It has:

  • no nonce (buildHash(..., null, false))
  • no prediction resistance
  • Bouncy Castle reseeds it only after 2^47 requests, which in practice is never.
  • The plain bcprov library runs no SP 800-90B health tests on the source.
  • RandomHelper keeps one instance per JVM, shared by every CA it serves.

So the whole process rests on a single 32-byte generateSeed at startup!

On a host short of entropy at boot, that read either blocks or is all the process ever gets. If you're very unlucky a VM restored from a memory snapshot repeats the DRBG state exactly. The name and the properties comment still describe the 2020 design (9130344), which had a background thread gathering fresh seed material for an inner DRBG. The 2025 rewrite removed that.

Ultimately setting ca.rngalgorithm=BCSP800Hybrid is therefore not evidence of a CSPRNG by itself: what matters is the entropy the host gives it, and when. That's a research dive for another day.

How The Generator Works

EJBCA's SernoGeneratorRandom (EJBCA CE source, modules/cesecore-common/.../SernoGeneratorRandom.java) is the model:

  • Before 2016-05-25 (commit b5fbf3a removed it): SecureRandom.getInstance("SHA1PRNG"), seeded once when the CA server starts with Math.abs(new Date().getTime() + this.hashCode()). Each serial is new BigInteger(nextBytes(octets)).abs(), redrawn when outside 0x0080..00 to 0x7FFF..FF. Below this is the abs layout.
  • Since 2019-03: new BigInteger(8 * octets - 1, random), the top layout. Stock EJBCA seeds this from the operating system. The CAs below that use this layout seed it with the time instead.

The seed is the time in milliseconds plus a 31-bit object hash, so it lies within about 25 days after the process started. One process draws every serial it issues from that one stream, across all the CAs it runs. Its serials therefore carry no more unpredictability than the seed: about 31 bits plus what is unknown about the start time, well short of 64.

The search tried every millisecond seed from 2002-01-01 to now (+2^31 ms), and the first 64 serials of each stream at every serial length from 7 to 20 octets. For current issuance it went to the first 4,096 potential serials at 8, 16 and 20 octets, for processes started from 2024-09-21. For CCADB certificates (Roots/SubCAs) it also exhaustively compared seeds from 1970 to 2038, to account for servers with a wrong clock, to 48 serials. SECOM's and Certisign's streams were followed further, up to 60,000 serials, you'll understand why soon.

Comparisons were on generator output against every serial in CCADB and in CT from 2026-10-09 to 2026-10-24. Statistically a 16- or 20-octet match cannot be chance. For 8 octets, the chance of any currently valid CA certificate matching with its seed inside its own time window is about 2e-6 over the whole search. Every stream was rebuilt with the JDK's own SHA1PRNG.

When the process started. The seed is the start time plus an object hash of up to 2^31 ms (about 24.9 days). The hash is effectively uniform, so estimating system boot time cannot be narrowed. A process therefore started no earlier than 2^31 ms before its seed, and no later than its seed or the notBefore of the first certificate it is known to have issued, whichever is earlier. Each stream below gives that range in UTC. Where a CA's clock was off, or a notBefore was set by hand at a ceremony, the range moves with it.

Confidence that a serial is PRNG output, in two grades:

  • very high: a 16- or 20-octet serial (127 or more bits match exactly), or two or more serials of one CA in the same stream;
  • high: a single 8-octet serial with its seed inside its own time window. Over the whole search, the chance of any such match among currently valid CA certificates is about 2e-6.

The PoC (SerialStreamCheck.java on any JDK 17 or later, or serial_stream_check.py on Python 3.8 or later) re-finds each seed inside a window around it and prints where each serial falls in the stream (see Reproducing).

CCADB: CA certificates, single serials

In scope: currently valid, unrevoked CA certificates in CCADB that chain to a root included by Apple, Chrome or Mozilla (*Code-signing: Microsoft). A single serial is a weak signal on its own. Here each one is the exact output of a stream whose seed falls near the certificate's notBefore (for GDCA's 2026 ceremony, months before it), and most share their stream with sibling certificates from the same ceremony. "Result" is the serial's place in its stream (0 is the first serial after the process started). "Layout either" means the draw's top bit was 0, so both layouts give the same value.

I'm including results before the requirement more as proof of concepts to show the method applies more broadly.

Actalis

The root is result 0 of a stream seeded 1 to 30 days before its notBefore. Before 2016-09-30.

Process start: 2011-08-25 23:48 to 2011-09-20 00:59 UTC, confidence high.

certificate type notBefore serial layout result stores sha256
Actalis Authentication Root CA Root 2011-09-22 570a119742c4e3cc abs 0 Mozilla, Chrome, Apple 55926084ec963a64b96e2abe01ce0ba86a64fbfebcc7aab5afc155b37fd76066

AffirmTrust (Entrust)

Four roots made on 2010-01-29 from one stream, at results 0, 4, 8 and 24: one ceremony, one process. Before the 2016-09-30 requirement; Apple only.

Process start: 2010-01-25 16:37 to 2010-01-29 14:06 UTC, confidence very high.

certificate type notBefore serial layout result stores sha256
AffirmTrust Commercial Root 2010-01-29 7777062726a9b17c either 0 Apple 0376ab1d54c5f9803ce4b2e201a0ee7eef7b57b636e8a93c9b8d4860c96f5fa7
AffirmTrust Networking Root 2010-01-29 7c4f04391cd4992d abs 4 Apple 0a81ec5a929777f145904af38d5d509f66b5e2c58fcdb531058b0e17f3f0b41b
AffirmTrust Premium Root 2010-01-29 6d8c1446b1a60aee either 8 Apple 70a73f7f376b60074248904534b11482d5bf0e698ecc498df52577ebf2e93b9a
AffirmTrust Premium ECC Root 2010-01-29 7497258ac73f7a54 abs 24 Apple bd71fdf6da97e4cf62d1647add2581b07d79adf8397eb4ecba9c5e8488821423

Firmaprofesional

The 2009 root and the 2014 root and subordinate each come from a stream seeded near their notBefore. Before 2016-09-30.

Process start, per stream:

  • 2009 root: 2009-04-25 12:55 to 2009-05-20 08:38 UTC, confidence high
  • 2014 subordinate (CUALIFICADOS): 2014-08-24 14:08 to 2014-09-18 10:00 UTC, confidence high
  • 2014 root: 2014-08-30 00:37 to 2014-09-23 15:22 UTC, confidence high
certificate type notBefore serial layout result stores sha256
Autoridad de Certificacion Firmaprofesional CIF A62634068 Root 2009-05-20 53ec3beefbb2485f abs 0 Apple 04048028bf1f2864d48f9ad4d83294366a828856553f3b14303f90147f5d40ef
AC Firmaprofesional - CUALIFICADOS Intermediate 2014-09-18 0d0366455e6e29d4 abs 1 Mozilla, Chrome, Apple 2b75cc4f36759cfc4c6637b1e0e54359457db57e74de4d2dc5d02cddff2960cf
Autoridad de Certificacion Firmaprofesional CIF A62634068 Root 2014-09-23 1b70e9d2ffae6c71 either 0 Mozilla, Chrome 57de0583efd2b26e0361da99da9df4648def7ee8441c3b728afa9bcde0f9b26a

GDCA

The TrustAUTH R5 root (2014-11-26), result 3 of its stream. Before 2016-09-30.

Process start: 2014-11-02 21:10 to 2014-11-26 05:13 UTC, confidence high.

certificate type notBefore serial layout result stores sha256
GDCA TrustAUTH R5 ROOT Root 2014-11-26 7d0997fef047ea7a abs 3 Mozilla, Chrome, Apple bfff8fd04433487d6a8aa60c1a29767a9fc2bbb05e420f713a13b992891d3893

SSL.com

Three roots and a subordinate of 2016-02-12 from one stream (results 0, 9, 10, 15). Before 2016-09-30. The Code Signing Intermediate of 2016-06-24 is result 0 of its own stream. It is a code signing CA, trusted by Microsoft only, and the Code Signing BR's 64-bit serial wording dates from CS BR 3.4 (2023-09-05).

Process start, per stream:

  • the 2016-02-12 roots and subordinate: 2016-02-09 00:04 to 2016-02-12 17:39 UTC, confidence very high
  • the Code Signing Intermediate: 2016-05-31 15:04 to 2016-06-24 20:44 UTC, confidence high
certificate type notBefore serial layout result stores sha256
SSL.com Root Certification Authority RSA Root 2016-02-12 7b2c9bd316803299 either 0 Mozilla, Chrome, Apple 85666a562ee0be5ce925c1d8890a6f76a87ec16d4d7d5f29ea7419cf20123b69
SSL.com Root Certification Authority ECC Root 2016-02-12 75e6dfcbc1685ba8 abs 9 Mozilla, Chrome, Apple 3417bb06cc6007da1b961c920b8ab4ce3fad820e4aa30b9acbc4a74ebdcebc65
SSL.com EV Root Certification Authority ECC Root 2016-02-12 2c299c5b16ed0595 either 10 Mozilla, Chrome, Apple 22a2c1f7bded704cc1e701b5f408c310880fe956b5de2a4a44f99c873a25a7c8
SSL.com RSA SSL subCA Intermediate 2016-02-12 0997ed109d1f07fc abs 15 Mozilla, Chrome, Apple 527a60b02abf3a4a5519c4f62fbbd560e3034074eeec8b8799aa9368693fe36d
SSL.com Code Signing Intermediate CA RSA R1 Intermediate (code signing) 2016-06-24 643351d3c7389f08 abs 0 Microsoft* 8f6d67c6f8fc5159a8e77a17099b74b9c96c0a7e1bc7d8eb86a08e0dc7681598

After the Requirements...

Now let's dig into the certificates created after the requirement for CSPRNG...

BJCA

Both Global roots and eight subordinates from one stream on 2019-12-19 (results 0 to 17), and eight G2 subordinates from two streams in 2025. All after 2016-09-30; Mozilla.

Process start, per stream:

  • 2019 roots and subordinates: 2019-12-01 13:58 to 2019-12-19 03:16 UTC, confidence very high
  • 2025 CA2 G2 subordinates: 2025-05-26 13:21 to 2025-05-28 08:09 UTC, confidence very high
  • 2025 CA1 G2 subordinates: 2025-05-16 20:20 to 2025-05-29 03:06 UTC, confidence very high
certificate type notBefore serial layout result stores sha256
BJCA Global Root CA1 Root 2019-12-19 556f65e3b4d9906a1b09d16c3ec06c20 either 0 Mozilla f3896f88fe7c0a882766a7fa6ad2749fb57a7f3e98fb769c1fa7b09c2c44d5ae
BJCA Global Root CA2 Root 2019-12-19 2c17087d642ac0fe85185906cfb44aeb either 2 Mozilla 574df6931e278039667b720afdc1600fc27eb66dd3092979fb73856487212882
BJCA EV SSL CA1 Intermediate 2019-12-19 38c9674012b231f5eee6fb3610c67c4c top 6 Mozilla 115a2a45db520361a2cdf0a395c4a4bd8a18902eaa4036792825f846bbd76917
BJCA OV SSL CA1 Intermediate 2019-12-19 2d0c54ff050acaf1be28ef1e4b2b886b either 7 Mozilla 0a6bc3e2024ac462f5d72be436ae61d033978ea8ddb63d4c5d6214915e69049b
BJCA IV SSL CA1 Intermediate 2019-12-19 56b0fed3abf74ded9a588cd07ae54015 top 8 Mozilla d70c597009af3a3a37bdfabea0c64108c7b83cd6c2042e8ff178a3ee8fe0cae8
BJCA DV SSL CA1 Intermediate 2019-12-19 25a139b24f1162b66ef4febf82293c6d top 9 Mozilla b408d6c82097121694b9b6548c5b4944594c081134f36c5be88d74fa34759d91
BJCA EV SSL CA2 Intermediate 2019-12-19 38c6967a3743d4500c55832455a94771 either 14 Mozilla e601477705341270fd120066bbdf26223e6953c4db8fa7ea197eaf5bf8343b25
BJCA OV SSL CA2 Intermediate 2019-12-19 7c95cf0b86669c9038662641cb7a9b22 top 15 Mozilla 3a1a4bd6a62468578dbc91dc24705b276a837cc18b6bef1ff3f6ed0fe6326302
BJCA IV SSL CA2 Intermediate 2019-12-19 5d4c8d145a46bd8bbef6dbfbbed7da07 either 16 Mozilla 2f9f41114dcadc30784e40fef7d6ee063a9be7a363de5737e88fa1118671505e
BJCA DV SSL CA2 Intermediate 2019-12-19 54f06769c60b2548c6e1e9dd380c120c either 17 Mozilla 3f5cb1531cb1223aabfb70872dc43d2dd6cc3d2823e96b458a9f8a7ec0265946
BJCA EV SSL CA2 G2 Intermediate 2025-05-28 15036eb25b066f4544ad3cbc3c074fa1 either 4 Mozilla d8ac54fafbfbdb6ce68b1bc9953675339660dd98d425dd72876e2ca29d2491ab
BJCA OV SSL CA2 G2 Intermediate 2025-05-28 6c3523a831446f8b57f242fa3e485fbd either 5 Mozilla 9fcc416118949c311a5a48b44278f4fdcc45a650222a656df0f9ede2aec34f04
BJCA IV SSL CA2 G2 Intermediate 2025-05-28 30850431837fe177f6b025852b07a714 top 6 Mozilla d6f102443308694774d3aad38aebfa382bc4346bdaf6ae7f36c69e19b8446895
BJCA DV SSL CA2 G2 Intermediate 2025-05-28 54f9c503582882276974c7d3f73a1fdd top 7 Mozilla 95e29d525032825922a58b03c56e3b9741237bbe2e6cdca456df8cc1e56be4a1
BJCA EV SSL CA1 G2 Intermediate 2025-05-29 2102bee78bfe58b0ad1f1e2993c47fdf top 0 Mozilla dc7fc62ada41a93a98ce432459cd7e40d1c037b1de27f2c5bcb6289a53984348
BJCA OV SSL CA1 G2 Intermediate 2025-05-29 7d87ab5ea7f6310b0f7c37c63f2ce6d2 top 1 Mozilla 321fb5bd2625f809cec9773b3395b4520d1fa9311d43d494e618deac0c02b343
BJCA IV SSL CA1 G2 Intermediate 2025-05-29 7464a867c2008751f0ce204ff1fb5e5d either 2 Mozilla 33b5b7c21e66504fd3ee65b0fe0d12c3175ba2a616441b7133db3c1236b55df7
BJCA DV SSL CA1 G2 Intermediate 2025-05-29 4c83fb2a38af5f52daee7a67aaedd6d3 top 3 Mozilla 07f80fd793bee4c881a901105657696a237509bbe4dfdb0ba752b4f4f6d42019

GDCA

The three TrustAUTH R4 SSL CA2 subordinates of 2026-02-25, results 2 to 4 of one stream seeded 30 days to a year before their notBefore. The ceremony is current.

Process start: 2025-04-19 20:33 to 2025-05-14 21:44 UTC, confidence very high.

certificate type notBefore serial layout result stores sha256
GDCA TrustAUTH R4 DV SSL CA2 Intermediate 2026-02-25 4ba6397c02f5b7b14350e2f96bd6c3fd either 2 Mozilla, Chrome, Apple 2f7d8eeab71116cdbc574b2d943d22403d3b8b26e3c7abdb68f2d8cb49c2d0df
GDCA TrustAUTH R4 OV SSL CA2 Intermediate 2026-02-25 23eee2fc486fe64bb7e6c876cd241461 top 3 Mozilla, Chrome, Apple 9b69c6ecda5593c4551613073a1d56563efa342badf3e794bd03d5dcff97057c
GDCA TrustAUTH R4 EV SSL CA2 Intermediate 2026-02-25 5794f0435036c354e01a0eb07f2e8bbd either 4 Mozilla, Chrome, Apple 422952c2bc58a4671af5e8acb26effa55532f4051ee88f3f1ad019fc7f2b8722

PKIoverheid (Logius)

G3 subordinates operated by QuoVadis (2016-11-03), KPN (2016-12-08) and the UZI-register (2017-05-09): each operator's set shares one stream, in the pre-2016 abs layout. All after 2016-09-30; Mozilla.

Process start, per stream:

  • QuoVadis set: 2016-11-02 06:36 to 2016-11-03 12:39 UTC, confidence very high
  • KPN set: 2016-12-04 07:34 to 2016-12-08 09:50 UTC, confidence very high
  • UZI-register set: 2017-04-30 12:06 to 2017-05-09 08:26 UTC, confidence very high
certificate type notBefore serial layout result stores sha256
QuoVadis PKIoverheid Organisatie Persoon CA - G3 Intermediate 2016-11-03 24a7a2b620f903e3 abs 3 Mozilla 15073c6bbdc74699a88518c27a57c956e5e23d6ca9619e521a468c7873de4f8a
QuoVadis PKIoverheid Organisatie Services CA - G3 Intermediate 2016-11-03 4b22df24709277e9 abs 5 Mozilla becfde124cedd344d925cb55edda662d9a9c0688fa9a0870ce3dbb6da4313e4e
KPN BV PKIoverheid Organisatie Services CA - G3 Intermediate 2016-12-08 43f05cbc60cb61f1 either 0 Mozilla f22db657a1a929841abcac52671a5cee8a7d069586af85ce16de2b05dda22252
KPN BV PKIoverheid Organisatie Persoon CA - G3 Intermediate 2016-12-08 0f08387dd5df4b99 either 2 Mozilla a9b5698c5263beff3d60720dc1844cb95d16f06e04268bce3be4d60282b01ef9
UZI-register Medewerker niet op naam CA G3 Intermediate 2017-05-09 5ce40505b5fc2352 either 0 Mozilla 38ded3ff6827579008af4887eb9698a3cfa927fa8ed59f06ba090fb9a63e2d77
UZI-register Medewerker op naam CA G3 Intermediate 2017-05-09 1d857d9eb996200b abs 1 Mozilla d8553a2880e96b7aa4c7413dd903afd3d580504695dd26a168fd48cce7b1474a
UZI-register Zorgverlener CA G3 Intermediate 2017-05-09 22216a9429ea5234 either 2 Mozilla 3ead4f72f06f1054881d2728de033a8e13fade6bd165084018eb943c17378daa

SHECA (UniTrust): a hashed counter

SHECA's CA certificate serials are MD5 of the decimal text of a counter, 2015 to 2023: both included roots, the two currently valid Xinnet subordinates, and 13 revoked subordinates. The match is exact in at least the last 15 bytes (120 bits or more). The first byte is the MD5 byte, that byte with its top bit cleared, or another byte. The counters are 22 to 31 bits long. Confidence very high that the serials are not random, but this is a hashed counter, not a PRNG stream, so no process start can be derived.

The PoC is Md5CounterCheck.java (or md5_counter_check.py). It is not a false positive: a counter can only match 120 or more bits of an MD5 output by construction, so this is how SHECA made these serials, and it warrants a closer look at the rest of its issuance. Its subscriber certificates do not use it: of the 2,677 serials under SHECA's issuing CAs in CT 2026-10-09 to 10-24, none is MD5 of a decimal counter below 2^32 apart from the two Xinnet subordinates themselves.

certificate type notBefore serial counter stores sha256
UCA Extended Validation Root Root 2015-03-13 4fd22b8ff564c8339e4f345866237060 31 bits Mozilla, Chrome d43af9b35473755c9684fc06d7d8cb70ee5c28e773fb294eb41ee71722924d24
UCA Global G2 Root Root 2016-03-11 5ddfb1da5aa3ed5dbe5a6520650390ef 28 bits Mozilla, Chrome 9bea11c976fe014764c1be56a6f914b5a560317abd9988393382e5161aa0493c
Xinnet DV SSL Intermediate 2023-07-05 7850e4ccad8a111ccf098f2268ed0ba9 22 bits Mozilla, Chrome, Apple 9c53902f9501f6d89766999dbe2ad1a1436420b652535cdc2dc51ccfe2ffee68
Xinnet OV SSL Intermediate 2023-07-05 61d34d1aa854a26281586259fae6b361 31 bits Mozilla, Chrome, Apple 3c07d7efc8d458f668c10d4f06f90503ccd25d59e2b3f1d58b32884d9e4e3809

The revoked ones, for the practice: SHECA Extended Validation SSL CA and EV Code Signing (2015), SHECA Global G3 SSL and G3 Code Signing (2016), six SHECA RSA subordinates of 2018-04-27, SHECA SMIME CA G1 (2021), OV Server CA G6 (2022) and OV Server CA G7 (2023).

SSL.com

The EV Root RSA R2 cross (2017-04-06) is result 0 of a stream whose results 8 and 9 are the EV Code Signing and EV Timestamping Intermediates of the same day. Those two are trusted by Microsoft only, and the Code Signing BR's 64-bit wording came later (CS BR 3.4, 2023-09-05). The self-signed root (2017-05-31) is result 0 of its own stream.

Process start, per stream:

  • EV Root RSA R2 cross and the two code signing intermediates: 2017-04-01 13:43 to 2017-04-06 16:39 UTC, confidence very high
  • EV Root RSA R2 root: 2017-05-21 16:05 to 2017-05-31 18:14 UTC, confidence high
certificate type notBefore serial layout result stores sha256
SSL.com EV Root Certification Authority RSA R2 Intermediate 2017-04-06 4ef232176d9bea14 abs 0 Mozilla, Chrome, Apple 89efeb25096ba4ccd40af4fb8756f0a4843995974822020914c4e859d932b7f3
SSL.com EV Code Signing Intermediate CA RSA R2 Intermediate (code signing) 2017-04-06 3ba74d76ad86e78e either 8 Microsoft* d8d382e37d2f93811aa3d940eef4c6eea47bb3ba50271a8bf2e8c24cdd393c56
SSL.com EV Timestamping Intermediate CA RSA R1 Intermediate (time stamping) 2017-04-06 01dee6cec92b46d8 abs 9 Microsoft* 554e3ae314aff264d3fde7f2bbc818f2e734d94b336208edefe7c37b162b6a96
SSL.com EV Root Certification Authority RSA R2 Root 2017-05-31 56b629cd34bc78f6 either 0 Mozilla, Chrome, Apple 2e7bf16cc22485a7bbe2aa8696750761b0ae39be3b2fe9d0cc6d4ef73491425c

TunTrust (ANCE)

The root, its cross and the Services CA (2019), 20-octet serials, in the pre-2016 abs layout three years after EJBCA changed it. After 2016-09-30.

Process start, per stream:

  • cross (2019-04-18): 2019-04-09 06:20 to 2019-04-18 09:42 UTC, confidence very high
  • root and Services CA (2019-04-26): 2019-04-15 06:48 to 2019-04-26 08:57 UTC, confidence very high
certificate type notBefore serial layout result stores sha256
TunTrust Root CA Intermediate 2019-04-18 27b4bd1d08289f6d78e2cedceef25dca3a702990 abs 1 Mozilla, Chrome babbca986946352cf9bf382e880652f4e94dbc4fedd0f1cc21fa9973c96d65ab
TunTrust Root CA Root 2019-04-26 1302d5e2404c92468616675db4bbbbb26b3efc13 abs 0 Mozilla, Chrome 2e44102ab58cb85419451c8e19d9acf3662cafbc614b6a53960a30f7d0e2eb41
TunTrust Services CA Intermediate 2019-04-26 601a7c2f6093b7a673da5f8c9c885f37a75897c0 abs 3 Mozilla, Chrome 063627355c941a1c93fc515cbaef2f173d4a646ddeb139cb8c75c1022222994f

CCADB: CA certificates, short serials

No stream is needed here: the serial is too short to hold 64 bits of CSPRNG output, whatever made it. In scope as above, and issued after 2016-09-30. "Bits" is the serial's bit length. Each owner's serials also run on a visible counter across its CA certificates in CCADB. Confidence: proven by length.

D-TRUST

Two CA certificates of 2016-11-16, two apart on a 20-bit counter. The same counter runs through D-TRUST's older CA certificates in CCADB: 0fe0f6 (2013-09-27), 0fe43b (2013-12-17), 0fe44c (2015-11-12).

certificate type notBefore serial bits stores sha256
D-TRUST Application Certificates CA 3-2 2016 Intermediate 2016-11-16 0fe48c 20 Mozilla, Apple 7890eed59e95743c62826398129bc2f54ad414794aac075ba67177332802b029
D-TRUST CA 2-2 EV 2016 Intermediate 2016-11-16 0fe48e 20 Mozilla, Chrome, Apple 2316d05a2e2d347fa141135b98ed09f56e81f1cf5679793d3b39dd6d8e461a48

LAWtrust

31-bit serials. The root and Secure CA01 (2023) are on the counter that also made the 2015 Root CA2 (551a6c40) and the 2020 and 2022 subordinates (551a6ce3 to 551a6e3e). LAWtrust's Microsoft-only subordinates are in the Microsoft-only section.

certificate type notBefore serial bits stores sha256
LAWtrust Root CA2 (4096) Root 2023-02-14 551a6eb1 31 Mozilla 48e1cf9e43b688a51044160f46d773b8277fe45beaad0e4df90d1974382fea99
LAWtrust Secure CA01 Intermediate 2023-04-25 551a6f5f 31 Mozilla 0946be0774bf32ac7b0e2e9abe20d9f44152f4ef19611c5fb779adc5a9a5e2f0

Serial structure: under 64 bits by construction

No stream here either. The serial is split into fields across an issuer's serials: constant nibbles, nibbles held to a range, clock or counter nibbles that rise with notBefore, and bits that are a linear function of others. Unproven positions count at full width and clock or counter nibbles at zero, so each figure is an upper bound on what a CSPRNG could have put in the serial. Every restriction used holds at p below 0.01 / 40,228 (Bonferroni over every test on every issuer). In a field map each character is a nibble: a hex digit is constant, d is held to 0-9, r to another range, T is a clock or counter, x is unrestricted.

Certum (Asseco)

Serials counted up across issuing CAs: one 128-bit value incremented, not a fresh 64-bit draw per certificate. BR 7.1 requires a non-sequential serial.

certificate type notBefore serial stores sha256
ANTIC DV CA Intermediate 2022-07-28 d32c4556dd4acfe0284d1368dc83757f Mozilla, Chrome, Apple e53a69193e22faecc833f80631be15e020a04c20bb679fd351f0cb95c0089e50
netartSSL (revoked) Intermediate 2023-01-23 d32c4556dd4acfe0284d1368dc837580 e21a784343f763f5efe894ddc81e0b5b92a89df65056fca8c49ad4414cd74eb4
cyber_Folks (revoked) Intermediate 2023-03-16 d32c4556dd4acfe0284d1368dc837582 2e198c227f93f9cf96f7b8a1986f659735502c956407db36f0d4a3d601f42472
Root Global CA - G2 Intermediate (cross) 2020-01-30 c3e00f9f002ec559ba02c4a5f2600c5e Mozilla, Chrome, Apple 309a7823bb3d1ddf44a573ec0bf9fd5166625fde73776184c62212b4c0b4e94e
Root CA - G3 (revoked) Intermediate (cross) 2020-09-09 c3e00f9f002ec559ba02c4a5f2600c5f 6c834388f2a0d06949c63efcf30d77782e25a8250135939e54960214540eea45

CFCA

Two subscriber issuers under CFCA Global RSA ROOT G2, which reaches Mozilla, Chrome and Apple through its cross from CFCA EV ROOT. 10-octet serials: a clock, a few restricted nibbles and six BCD digits.

  • CFCA OV RSA OCA G2: 41.06 bits at most, 295 serials, notBefore 2026-07-01 to 10-20. Map rT TT TT Tx xx x0 r5 dd dd dd. Examples: 32ebe4d5cba005287513, 330d02782b5005250059, 730d61299ba005611025.
  • CFCA EV RSA OCA G2: 56.38 bits at most, 49 serials, notBefore 2026-09-21 to 10-20, the same layout. Map r3 0r xx xx xx x0 r5 dd dd dd. Too few serials to prove its clock, so those nibbles count in full.

SECOM Trust Systems

CA certificates with 9-octet serials under a fixed 22b9b1 prefix: 47 bits at most (43 serials, 2016-12 to 2020-07). Map 22 b9 b1 rx xx xx xx xx xx.

certificate type notBefore serial bits stores sha256
SECOM Passport for Member PUB CA8 Intermediate 2018-01-09 22b9b12b288a041897 47 Mozilla, Chrome, Apple 7a4fcba079f5bddcf0a76c3b03a377e155a53009474a1b3eb8f34961a53bda9c
SECOM Passport for Member PUB CA4 Intermediate 2018-10-04 22b9b1575075487009 47 Mozilla, Chrome, Apple b10861737b3ec9b11fa6154d23970ffb2dabfc28ae6a6bf56c3f3204266239ad
Cybertrust Japan SureServer EV CA G3 Intermediate 2019-09-27 22b9b16488bce695fc 47 Mozilla, Chrome, Apple fece9ada7aa49d4fea9eff123542095a880c004fd6933f9364b02b2e3574ea38
Cybertrust Japan SureServer CA G4 Intermediate 2019-09-27 22b9b1630cecb43c2e 47 Mozilla, Chrome, Apple 0207056d172c80bdfb6dc45be9e5808846078d1e6eef1b6ed70259ab332a64c1
SECOM Passport for Member PUB CA5 Intermediate 2020-05-20 22b9b16da7e6f3bbba 47 Mozilla, Apple 8c6db8171ae6785f05426ae58c3d36f7559352202e9209b9d29b1bd447961dc8

TWCA (Taiwan-CA)

  • Subscriber issuers. TWCA SSL Certification Authority (2,028 serials, notBefore 2025-10-07 to 2026-10-20) and TWCA Secure SSL Certification Authority (263 serials, 2025-09-19 to 2026-09-23): 63 bits at most. The first 8 octets are a prefix, zeros and a clock. The last 8 are a random field whose top bit is 0 in every serial. Map TT TT TT TT TT TT TT TT rx xx xx xx xx xx xx xx. Examples: 47e900000008897a6f19e16d212c253c, 47ea0000000981f57066d6e1cf4740fc.
  • CA certificates. 4001, a day code that rises with the date, six zero octets and a tail that rises with time under each issuer: 53 bits at most (18 serials). Map 40 01 3r xx xx 00 00 00 00 00 00 0x xx xx xx xx. 18 certificates are too few to prove the day code or the tail a counter, so both count in full.
certificate type notBefore serial stores sha256
TWCA InfoSec User CA Intermediate 2018-10-12 400133f0140000000000000cc70241af Mozilla, Apple bfaaf990b98d9168466a9f0757dc2f1614b9f938b3a74511b994a2b858e1490e
TWCA Global Root CA G2 Root 2022-11-22 4001348cc200000000000000019758f4 Mozilla 3a0072d49ffc04e996c59aeb75991d3c340f3615d6fd4dce90ac0b3d88ead4f4
TWCA CYBER Root CA Root 2022-11-22 4001348cc200000000000000013cf2c6 Mozilla, Chrome 3f63bb2814be174ec8b6439cf08d6d56f0b7c405883a5648a334424d6b3ec558
TWCA Global Root CA G2 Intermediate (cross) 2022-12-09 4001348d190000000000000ccce78f26 Mozilla, Chrome, Apple d53bf4968a7db3c8c4e3366f2c7f76ad61b7041dfefc64c1902c499a6ffff241
TWCA CYBER Root CA Intermediate (cross) 2022-12-09 4001348d190000000000000ccdf9937a Mozilla, Chrome, Apple c619f4e6f7b1baa7a6c6f244092a3f82e46a6d67bee26337fbaf02546f33133f
TWCA EVSSL Certification Authority Intermediate 2023-02-23 400134b04f0000000000000004aa7b0a Mozilla, Chrome, Apple f76e3339a6773dc5922da154628c8d22b5c915edcb15270db8fb3d8d24959e98
TWCA InfoSec User CA Intermediate 2023-02-23 400134b04f000000000000000379e6d4 Mozilla, Apple d607994290574f7ec0a4e65c1994ff2dc51ad0c5978db29bde4867b9921fb71e
TWCA SSL Certification Authority Intermediate 2023-02-23 400134b04f0000000000000003e324ac Mozilla, Chrome, Apple 01af2324d098098f5e0cdf6faabada430b21cce777f47eacb26248b2fda3e531
TWCA Secure SSL Certification Authority Intermediate 2023-08-18 400134b2a20000000000000ccf71354c Mozilla, Chrome, Apple c6e96a1745707099f02279472fa28a99bae447d77511e19e86baf3047651c1eb
TWCA Secure SSL Certification Authority Intermediate 2023-10-16 400134b3680000000000000cd0aa08ec Mozilla, Chrome, Apple 1a2c75fd096e0499e9ff6ac74e526f61eaae3edfc8c2ea4436fee0c24d8b7d0e
TWCA InfoSec User CA Intermediate 2024-03-15 400134d7bb0000000000000cd2f1f753 Mozilla, Apple b806fc5fe830cb5dbbf0018e3b1732281d0a2365aafcfffcd331427d02fef08c
TWCA EVSSL Certification Authority Intermediate 2024-09-06 400134da0a000000000000000782d7a0 Mozilla, Chrome, Apple cac9fd0cd35aa5c480cd03fdd6edf0ca1a41fd02ac290ec83d83ceedf8ec245c
TWCA InfoSec User CA Intermediate 2024-09-06 400134da0a0000000000000005a19be6 Mozilla, Apple 0936ea8c5fba53b8d3083264a735d7d0cf3b09c6e19334105a315482be9dba38
TWCA SSL Certification Authority Intermediate 2024-09-06 400134da0a0000000000000006aac553 Mozilla, Chrome, Apple 815c549c6976bf163eb54710ffc7806b1e7541c688313312b606837767164094

Subscriber certificates: issuer-wide practice

Here's where we move from theoretical non-compliance from the above, to provable non-compliance. These are current TLS issuance, each case is one running process whose stream explains many serials across several issuing CAs.

Share of each issuer's issuance

Fresh precertificates only: notBefore 2026-10-06 to 10-24, the days our CT capture covers. Relogged final certificates are left out, and a precertificate and its final certificate count once. "Explained" means the serial is in a time-seeded stream: the GPU sweep's matches, plus SECOM's and Certisign's streams followed past the sweep's 4,096 results.

  • SECOM Trust Systems, two processes, one after the other:
    • JPRS DV RSA CA 2024 G1: 100% (11,746 of 11,746)
    • NII Open Domain CA - G8 RSA: 100% (2,066 of 2,066)
    • SECOM Passport for Web OV RSA CA 2024: 100% (1,170 of 1,170)
    • JPRS OV RSA CA 2024 G1: 100% (193 of 193)
    • NII Open Domain CA - G8 ECC: 100% (107 of 107)
    • SECOM Passport for Web OV ECC CA 2024: 100% (8 of 8)
  • GDCA, one process at a time:
    • TrustAUTH R4 OV SSL CA2: 100% (26 of 26)
    • TrustAUTH R4 DV SSL CA2: 100% (20 of 20)
    • TrustAUTH R4 EV SSL CA2: 100% (1 of 1)
  • BJCA, a small sample:
    • DV SSL CA1 G2: 100% (2 of 2)
    • DV SSL CA2 G2: 100% (2 of 2)

Every fresh SECOM precertificate comes from one of two processes: the first issued until 2026-10-10 13:43 UTC, the second from 10-10 17:34. SECOM's other three issuers (JPRS DV G4, SR 3.0, JPRS OV G4) have no fresh precertificates in the window. What we hold from them are relogged final certificates of 2025-10 to 2026-06, not yet expired; the ones explained come from the two 2025 streams below.

For contrast, GoDaddy's 8-octet DV issuer: 250 of 6,532,439 (0.004%), the rate chance predicts for 8-octet serials, with no two in one stream.

BJCA

The top layout with a time seed: EJBCA's post-2019 serial code, seeded in a way stock EJBCA does not.

  • Four consecutive DV leaves on 2026-10-13 under two subordinates (BJCA DV SSL CA1 G2 and DV SSL CA2 G2), results 3905 to 3908 of one stream whose process started 2026-01-09 11:46 to 2026-02-03 08:22 UTC. One process has served both subordinates for about eight months.
  • The OCSP responder certificate of BJCA EV SSL CA1 G2 (2025-12-25) comes from another such stream.

Process start, per stream:

  • DV leaves of 2026-10-13: 2026-01-09 11:46 to 2026-02-03 08:22 UTC, confidence very high
  • OCSP responder of 2025-12-25: 2025-12-21 11:52 to 2025-12-25 08:27 UTC, confidence very high
issuer certificate notBefore serial layout result sha256
BJCA EV SSL CA1 G2 OCSP responder 2025-12-25 7f245d3ba1a4c9b2e0780cf3e214ae30 either 4 384c958c5455581770bc7ac01f7699ce2c15e6bd1333767147099b26993a2d9c
BJCA DV SSL CA1 G2 TLS leaf (precertificate) 2026-10-13 46fb8662ab035522fc6215f61ae3a5d5 top 3905 aa2924e13ba48942fa009d585eb896e713547458e43a12e0ee550cd6f19d3543
BJCA DV SSL CA1 G2 TLS leaf (precertificate) 2026-10-13 2566a1a0f4230caa26f45d74a1232fcd top 3906 5805683bccabfbea28228e277c895a4b32fc913502cc5c0c107484e13d809b04
BJCA DV SSL CA2 G2 TLS leaf (precertificate) 2026-10-13 6b87e731e0a94280a26791610427d6a5 top 3907 9d4ca563607818ef93ba72803b66a5469b83f56c8e0529287ecb851e47620ec8
BJCA DV SSL CA2 G2 TLS leaf (precertificate) 2026-10-13 38dec99e8e5634af07c191884965a155 top 3908 df64305d7047d5182279cb48afc75e707f45b58fba99245a657e8aef727dfcbb

GDCA

The pre-2016 EJBCA serial code (abs layout) in 2026, across all three TrustAUTH R4 SSL subordinates, trusted by Apple, Chrome and Mozilla.

  • Two streams, one process at a time serving all three subordinates. A process started 2026-02-28 22:22 to 2026-03-25 18:58 UTC issued EV and OV leaves from 2026-04-13 to 05-26 (11 we hold). A process started 2026-08-13 08:15 to 2026-09-07 04:50 UTC issued DV, OV and EV leaves from 2026-09-28 to 10-23 (48 we hold, interleaved). Together they explain every GDCA leaf we hold, 59: OV SSL CA2 36, DV SSL CA2 21, EV SSL CA2 2.
  • The OCSP responder certificate of TrustAUTH R4 EV SSL CA2 (2026-08-25) comes from a third stream.
  • GDCA's 2026 ceremony (the CCADB section above) used the top layout, so its ceremony tooling and its issuing system differ, and both are time-seeded.

Process start, per stream:

  • leaves of 2026-04 to 05: 2026-02-28 22:22 to 2026-03-25 18:58 UTC, confidence very high
  • leaves of 2026-09 to 10: 2026-08-13 08:15 to 2026-09-07 04:50 UTC, confidence very high
  • OCSP responder of 2026-08-25: 2026-08-12 06:55 to 2026-08-25 03:08 UTC, confidence very high
issuer certificate notBefore serial layout result sha256
GDCA TrustAUTH R4 EV SSL CA2 TLS leaf 2026-05-20 37b5a44846fb83b381304be8e3f09477 abs 124 96cf27b2ccbcc46a9165cd4af06e8a067f292c94da84ee14aa465a2c3c601d19
GDCA TrustAUTH R4 OV SSL CA2 TLS leaf 2026-05-20 3b9ca2547f0bc4ba981e204573f5fd26 abs 168 7a35f93e0d86da4d6078f8c788dc159fe01151d5dadcff39cd4c39c2daf37fd8
GDCA TrustAUTH R4 OV SSL CA2 TLS leaf 2026-05-26 7e0d6961e9e66b4404871cd28c7f0963 abs 379 3fdd1269b913f1663859ba5c29361d60c27d6ed452cbfaad3a112e3efe296477
GDCA TrustAUTH R4 DV SSL CA2 TLS leaf (precertificate) 2026-10-10 41d3c511cda07e9ede2caa4cdd6104c5 either 114 293e5cef40191b46a3f8485b9f89eefff4c273af14415766e454a9164d93c826
GDCA TrustAUTH R4 DV SSL CA2 TLS leaf (precertificate) 2026-10-10 0a6aa34468e119e1c9931d19658ec6cd either 115 db836505bf7e7f6c1c2b0467e9aed0a3e87dc5996adfd23c0025d1d6409080f4
GDCA TrustAUTH R4 EV SSL CA2 OCSP responder 2026-08-25 28d4e3026c7497c081ef1607747e7c77 either 8 172e9301058626ec6b0770664d02242b31989efa29d08516cadcf141ecf0591e

SECOM Trust Systems

The pre-2016 EJBCA serial code (abs layout) in 2025 and 2026, across nine issuers, all trusted by Apple, Chrome and Mozilla.

  • One stream, six issuers, started 2026-09-17 09:44 to 2026-10-10 17:34 UTC. SECOM Passport for Web OV RSA CA 2024 takes results 0 and 1, NII Open Domain CA - G8 ECC result 2, NII Open Domain CA - G8 RSA results 3 to 5, and JPRS DV RSA CA 2024 G1 results 6 onward. SECOM Passport for Web OV ECC CA 2024 and JPRS OV RSA CA 2024 G1 follow in the same stream (results 683 onward). Its first 15,082 results include 15,081 serials we hold from these six issuers, so nearly everything the process issued is in our capture. No match lies beyond result 15,081 in its first 3,000,000.
  • The process before it started 2026-08-31 17:20 to 09-12 21:25 UTC and issued for the same six issuers from 2026-09-12 to 10-10 13:43 (results 384 to 29,614). The switch to the next falls between 13:43 and 17:34 that day.
  • Earlier streams explain SECOM Passport for Web SR 3.0 CA and JPRS Organization Validation Authority - G4 (2025-10, one stream), and JPRS Domain Validation Authority - G4 (2025-11).
  • Earlier 2026 processes of the six issuers, each time-seeded, explain a few more relogged serials (notBefore 2025-12-22, 2026-07-15 and 2026-09-01 to 11): SECOM restarted its issuing process several times in 2026, and each restart whose serials we matched came up time-seeded.

Process start, per stream:

  • six-issuer stream (2026-09): 2026-08-31 17:20 to 2026-09-12 21:25 UTC, confidence very high
  • six-issuer stream (2026-10): 2026-09-17 09:44 to 2026-10-10 17:34 UTC, confidence very high
  • SR 3.0 and JPRS OV G4 (2025-10): 2025-09-23 11:32 to 2025-10-14 04:57 UTC, confidence very high
  • JPRS DV G4 (2025-11): 2025-10-21 11:25 to 2025-11-09 19:51 UTC, confidence very high

Each issuer's share is in the breakdown above.

issuer certificate notBefore serial layout result sha256
SECOM Passport for Web SR 3.0 CA TLS leaf 2025-10-14 5262f725ae339b7f4013f6b9aab1803a abs 403 56d250ad548cc44fc12ed159d5694814388b9541a7cb54a8bfbcb1b68a8e74b4
JPRS Organization Validation Authority - G4 TLS leaf 2025-10-16 418b2f00abffb5c94b7e6a6c880da27c abs 1299 e97f4f6d09ba5a884fca42a4b45354f6f08af5a9285661916355b1a62cde51c4
JPRS Domain Validation Authority - G4 TLS leaf 2025-11-09 2fb2de32d8b3e2d5bdb9b4d7f018e4b7 abs 221 7ff5a19033c09c5f71e4bd1659fb91b5c3378375fea32157503f75d7a2f283c8
JPRS DV RSA CA 2024 G1 TLS leaf 2026-09-12 6a2416f66fab1e8c5c846c4bd0e4ff7c either 384 61f12104ba1d9699a2fd0e21d3bde511f6b586ed5028453b3c40e0b2965ffa37
JPRS DV RSA CA 2024 G1 TLS leaf (precertificate) 2026-10-10 77e09a7dfca8c531a868a999c61481a9 abs 29614 07ef37f6414c71c68641b1dbe867a7d55fc2cd234c6c5d421d5bb6c5ba5b94ca
SECOM Passport for Web OV RSA CA 2024 TLS leaf (precertificate) 2026-10-10 0ab2f63bb97f42e4e393fd4654e30c6a either 0 cad88b93a1d045628d7439b9051ce37f11c90b47c011584d69b6878d7384c468
SECOM Passport for Web OV RSA CA 2024 TLS leaf (precertificate) 2026-10-10 7814e3eb80e9b25333c94fd4f2d93230 either 1 2cd57caccb989a393af571d1c385f15e272b478ffa890093b85ff04789282b44
NII Open Domain CA - G8 ECC TLS leaf (precertificate) 2026-10-10 34843819f4b3a138cfa43ed18337d774 either 2 68d65575dc12d39f166aded656a8cf3c35a42734b4bb5d79ca456cc1de9dcbf1
NII Open Domain CA - G8 RSA TLS leaf (precertificate) 2026-10-10 07c7afe4a84a567aa536b687d155efac either 3 9cb37ab2f15d35e7b4e045113518a3ea6045029600ad06cb00061aa9f372add1
JPRS DV RSA CA 2024 G1 TLS leaf (precertificate) 2026-10-10 209052ce135d1e882c7cb53b7da698aa either 6 d1beae43a800fe45aa5a8a603a9fde533d3a3b33e1a47aac924ce221fc2699b7
SECOM Passport for Web OV ECC CA 2024 TLS leaf (precertificate) 2026-10-12 405d3b2886482d60526eaa5cc19219f5 either 683 92b8af2d55e37b86490a53b42ee43ce80b8220866fbb2339aef1e516285e074e
SECOM Passport for Web OV ECC CA 2024 TLS leaf (precertificate) 2026-10-12 5cabc3b95b7868b295a60746182a491b either 684 58aaf60a7d3eaf97cfca8889520d218276480e5995412e31d8fff242b0cc487d
JPRS OV RSA CA 2024 G1 TLS leaf (precertificate) 2026-10-12 39d156bdb7156f37239651c650fa3953 either 704 bd2895f52650a542c0b559fc8264d62100d3fbd9d98d5850ee10c7c79081a8ec
JPRS OV RSA CA 2024 G1 TLS leaf (precertificate) 2026-10-13 527d9597b1d2606ce9e0a0db7c956bd5 either 1766 7af6592eeed284fa90d5a032d5ed5450e7b4c76c2175274358b14bd37bbb61c0

Microsoft-only CAs

The same time-seeded streams in hierarchies that only Microsoft trusts: currently valid, unrevoked CA certificates whose roots are in no other store. EDICOM, MULTICERT, Zetes and LAWtrust's Microsoft-only subordinates carry no Server Authentication trust bit in CCADB. They are listed for the practice: the TLS BR's 7.1 does not govern them. Halcom and I.CA do carry it, and Microsoft's Program Requirements (2.1.14) bind a CA to the TLS BR for the TLS certificates it issues. Halcom's, I.CA's and LAWtrust's serials are short, so length alone shows they are under 64 bits, as in the short-serial section above.

One subscriber issuer is here too, AC Certisign ICP-Brasil SSL EV G4: current EV TLS issuance from time-seeded streams, the same practice as the subscriber section above. As in the rest of the report, CA certificates come first, then subscriber issuance. SSL.com's Microsoft-only code signing intermediates are in the SSL.com sections above.

Root/SubCAs: time-seeded streams

EDICOM

The CAEDICOM Root is result 1 of its stream. Before 2016-09-30.

Process start: 2014-05-09 09:37 to 2014-05-21 11:06 UTC, confidence high.

certificate type notBefore serial layout result Microsoft trust bits sha256
CAEDICOM Root Root 2014-05-21 00fb712658ad99e5 either 1 root 1501f89c5c4dcf36cf588a17c9fd7cfceb9ee01e8729be355e25de80eb6284b4

MULTICERT

The 2014 root is result 0 of its stream. Four subordinates of 2019-12-09 come from one ceremony stream (results 0 to 4), in the pre-2016 abs layout three years after EJBCA changed it.

Process start, per stream:

  • the 2014 root: 2014-03-28 06:20 to 2014-04-04 08:59 UTC, confidence high
  • the 2019 subordinates: 2019-11-16 01:08 to 2019-12-09 18:34 UTC, confidence very high
certificate type notBefore serial layout result Microsoft trust bits sha256
MULTICERT Root Certification Authority 01 Root 2014-04-04 544da5bc4035565a abs 0 root 604d32d036895aed3bfefaeb727c009ec0f2b3cdfa42a1c71730e6a72c3be9d4
MULTICERT Timestamping Certification Authority 005 Intermediate 2019-12-09 41c18ef2ac35e3179ab7f511d6052b80 abs 0 Time Stamping e8627ac236183a420e1513839aceeef833d27a45512717a9bafde8506bb5c1cf
MULTICERT Trust Services Certification Authority 005 Intermediate 2019-12-09 1099e1db9a2f45ab7a770e509956b19e either 1 Client Authentication 48a153e21e1b8c64dcbdcba034dab2ef8527a779a1ba2aa238acc48a2c6fcacf
MULTICERT Advanced Certification Authority 005 Intermediate 2019-12-09 59c45b154d493a74c76698fdb159db00 abs 3 Client Authentication 24edd4e503a8d3fdb5ffb4af66c887359901cbe687a5a0760d10a08eed99a7c3
MULTICERT QWAC Certification Authority 005 Intermediate 2019-12-09 5692ab48c4dc0d550ed4c5132a95ebc9 either 4 Client Authentication 35a1faa8c81125666d26f0a6e864ddeaa70431cc1570dc883cf147cd196e4ab6

Zetes

Three CA certificates, each result 0 of its own stream: the root (2016) and two subordinates (2017, 2019).

Process start, per stream:

  • the root: 2016-05-04 19:57 to 2016-05-20 13:23 UTC, confidence high
  • TSP CA FOR TSA 001: 2017-09-28 09:11 to 2017-10-19 09:27 UTC, confidence high
  • Signature Creation Service Issuing CA 001: 2019-08-28 05:44 to 2019-09-17 13:16 UTC, confidence high
certificate type notBefore serial layout result Microsoft trust bits sha256
ZETES TSP ROOT CA 001 Root 2016-05-20 02541aa950d7ce1f abs 0 root 016e1dcd5f78841bbebbae9ddea08c8d7ec54e698e95bb778ecdd1e10d8bf4f9
ZETES TSP CA FOR TSA 001 Intermediate 2017-10-19 2e31e474f60591ba either 0 Client Authentication, Document Signing, Secure Email, Time Stamping 024fd634002f59dbfa606e1615123e78e099b0020911b6ca786ba3ece9af35af
ZetesConfidens - Signature Creation Service - Issuing CA 001 Intermediate 2019-09-17 2ff642ad1aea7e0b abs 0 Client Authentication, Document Signing, Secure Email, Time Stamping e1e418b0fe70196d83dc226aa87bb943f7a936940d21f088702e4475ab7cf488

Root/SubCAs: short serials

Halcom

Six CA certificates with 20- and 21-bit serials, consecutive within each ceremony: 0e0ed0 to 0e0ed2 (2017-04-22) and 136c16 to 136c18 (2023-04-03). The root (2016-06-10, 0cdf9b) is before the requirement. Halcom's 2025 subordinates (TSA 2, web 2) have 16-octet serials. Confidence: proven by length.

certificate type notBefore serial bits Microsoft trust bits sha256
Halcom CA PO e-seal 1 Intermediate 2017-04-22 0e0ed0 20 Server Authentication and others 7b1d60647e7dab721bce21bd2ec8d2af281207b01474b1a47bf5cf772a311d9d
Halcom CA TSA 1 Intermediate 2017-04-22 0e0ed1 20 Server Authentication and others a2fe481dbd77689629828da50957b55b0d2cc4960601b3cb04e60c1dc3bc246c
Halcom CA web 1 Intermediate 2017-04-22 0e0ed2 20 Server Authentication and others d12df63569f0f814514c2e29c93a9a133a4cbaa92d3046f8c6bc2d9d6f66f087
Halcom CA PO e-signature 2 Intermediate 2023-04-03 136c16 21 Server Authentication and others 4436a54d37bf9934b2ff7aaf235b77d95baa0839ba7e5ffe9640efc6655860cf
Halcom CA FO e-signature 2 Intermediate 2023-04-03 136c17 21 Server Authentication and others b2fda13f819007e924a5ff453fb4a450c2d3451fdb432ced4abd34532d4477c2
Halcom CA PO e-seal 2 Intermediate 2023-04-03 136c18 21 Server Authentication and others 5ae7385644a83ed2e18c66ecb80993ea17941cce26d1ed6285df83cb35ba24ba

"Others" are Client Authentication, Document Signing, Encrypting File System and Time Stamping.

I.CA (První certifikační autorita)

The serials are a counter that starts at 100,000,000 (05f5e100). The roots are 05f5e101 to 05f5e104, the subordinates 05f5e4f0 (2016-12) to 05f5e534 (2022-10). All are 27 bits. Confidence: proven by length.

certificate type notBefore serial bits Microsoft trust bits sha256
I.CA Root CA/ECC 12/2016 Root 2016-12-07 05f5e101 27 Client Authentication, Document Signing, Secure Email b8692148ff49c3799fa2347ae28bcc5289623512b67dc19170452ade24ba51d5
I.CA Public CA/ECC 12/2016 Intermediate 2016-12-07 05f5e4f0 27 Client Authentication, Document Signing, Secure Email a68f0de78db7c02a78bb44cc46929e678839c893540c093fc7413e9e3125a696
I.CA TSACA/RSA 05/2017 Intermediate 2017-05-04 05f5e4f4 27 Time Stamping 4ab8bc6061743e0980bfd121370a88c511c4f29eb4bc089765886b64c791f768
I.CA SSL EV CA/RSA 10/2017 Intermediate 2017-10-26 05f5e4fe 27 Time Stamping 75f5c8db96b8e2148a6a958a478311f05c758fb7d96d5b8bc04e5b9d359c3b09
I.CA Qualified 2 CA/ECC 06/2019 Intermediate 2019-06-19 05f5e509 27 Client Authentication, Document Signing, Secure Email b7fac27aa688e9736cb63bbb0c8aa40175f6a3ea6e2514d734311dcac9b5a545
I.CA Root CA/RSA 05/2022 Root 2022-05-03 05f5e102 27 Client Authentication, Document Signing, Secure Email, Time Stamping d279c01a12e8dd9a6230e459faa447ceb336998477338c2ee4135c96737418eb
I.CA Root CA/ECC 05/2022 Root 2022-05-03 05f5e103 27 Client Authentication, Document Signing, Secure Email, Time Stamping 3808ce3e961ca532682ffb8708b544e8f175aa065601a45902df92128fc38532
I.CA TLS Root CA/RSA 05/2022 Root 2022-05-03 05f5e104 27 Server Authentication, Client Authentication f9a17a00e5c294ba9614a715819af57f3fd48cc413453fbb8a5fc7e97964e2bc
I.CA Public CA/RSA 06/2022 Intermediate 2022-06-20 05f5e527 27 Client Authentication, Document Signing, Secure Email df5baf6d7e1a7d14e9911c5b8c676ec6ebcad9354a74f4ac7314e133e07a94de
I.CA Public CA/ECC 06/2022 Intermediate 2022-06-20 05f5e528 27 Client Authentication, Document Signing, Secure Email 8f1924e14752d2264d905508ab3c48e2eaea860c9843573a96a347aeaed0ccaf
I.CA EU Qualified CA2/RSA 06/2022 Intermediate 2022-06-20 05f5e52a 27 Document Signing, Secure Email 5f9147824201b2e23d8e128f99adb9ec11c495796960fa0faef05f901a347c66
I.CA TSA CA/RSA 06/2022 Intermediate 2022-06-20 05f5e52b 27 Time Stamping 52b27152bd36bce43c76dd4f8e8068a39a2230ebcd21a354c27485d12ff6f9e1
I.CA EU Qualified CA2/ECC 06/2022 Intermediate 2022-06-20 05f5e52c 27 Document Signing, Secure Email a7cdf7f580ea9016fd3ae07f642f5fb58a971224e6c4e92a498a33537b2034c8
I.CA TLS DV/OV CA/RSA 06/2022 Intermediate 2022-06-22 05f5e52e 27 Client Authentication, Server Authentication 15448c743b75dcc18d782728037226b6f339ac288c1b8fecba5892556e5879ee
I.CA TLS EV CA/RSA 06/2022 Intermediate 2022-06-22 05f5e52f 27 Client Authentication, Server Authentication b9ef51a5f69a974f8d290b0a75fb253b7339053002aecb6516a270ea88aef4ed
I.CA EU Qualified CA-SK/RSA 10/2022 Intermediate 2022-10-13 05f5e534 27 Document Signing, Secure Email a045f6acb1f2d0d190ee07dfb6f6611374338bae1905ecb21918c0d7b19496ee

LAWtrust

Four Microsoft-only subordinates with 31-bit serials. Three are under LAWtrust Root Certification Authority 2048 and on that 2012 root's counter (4fb3d0ee). AUTH CA01 is under LAWtrust Root CA2 (4096), on the counter of LAWtrust's entry in the short-serial section. None carries the Server Authentication trust bit. Confidence: proven by length.

certificate type notBefore serial bits Microsoft trust bits sha256
LAWtrust AeSign CA02 Intermediate 2017-03-08 4fb3d460 31 Client Authentication f6d0c1d2dd35c9b2a9944b24eaf47b4f5a061ee8e775e9e206b54a17432b5d02
LAWtrust AATL CA01 Intermediate 2018-08-15 4fb3d4b1 31 Client Authentication e37872e123729faa9d8809c7fde8c1f38c7feebf2e9af1e5cc870c024deb7837
LAWtrust AeSign Certification Authority 2048 Intermediate 2020-01-15 4fb3d53f 31 Client Authentication 5112fe48175bf3027ddb8b8903ac449fde6729e4e986119a74c2f63140b5a26b
LAWtrust AUTH CA01 Intermediate 2023-02-16 551a6f23 31 Client Authentication 5693c8e01ec5442677a6c8be5a0b6079b891d8c9e58e260c65037d5ab2088926

Subscriber issuance

AC Certisign ICP-Brasil SSL EV G4

EV TLS precertificates under Autoridade Certificadora Raiz Brasileira v10, which CCADB lists as trusted by Microsoft only, with the Server Authentication bit. The issuing CA is not in CCADB. 17 of the 20 serials we hold from this issuer come from ten streams, in the pre-2016 abs layout. Fresh precertificates only (notBefore 2026-10-06 to 10-24): 88.9% (16 of 18). Results reach 12,100, while we hold only 20 serials, so each process also made serials for certificates we do not hold. Current issuance: notBefore 2026-04-22 and 2026-10-09 to 23.

Process start, per stream:

  • 1 serial: 2026-04-04 14:48 to 2026-04-22 13:24 UTC, confidence very high
  • 1 serial: 2026-09-02 09:34 to 2026-09-27 06:06 UTC, confidence very high
  • 1 serial: 2026-09-12 16:40 to 2026-10-07 13:12 UTC, confidence very high
  • 1 serial: 2026-09-28 16:45 to 2026-10-16 16:55 UTC, confidence very high
  • 5 serials: 2026-09-29 19:02 to 2026-10-16 14:15 UTC, confidence very high
  • 1 serial: 2026-10-01 15:09 to 2026-10-23 19:50 UTC, confidence very high
  • 1 serial: 2026-10-04 07:01 to 2026-10-15 15:24 UTC, confidence very high
  • 1 serial: 2026-10-07 02:09 to 2026-10-16 14:21 UTC, confidence very high
  • 4 serials: 2026-10-09 10:49 to 2026-10-16 17:11 UTC, confidence very high
  • 1 serial: 2026-10-11 02:52 to 2026-10-16 20:26 UTC, confidence very high
issuer certificate notBefore serial layout result sha256
AC Certisign ICP-Brasil SSL EV G4 TLS leaf (precertificate) 2026-04-22 1c282badb1ea8f148a98d638a7b5654c either 241 4e45948252c69ec7388a2b436cecc77d6574a171d00ac84d6e463fd4f761e3ec
AC Certisign ICP-Brasil SSL EV G4 TLS leaf (precertificate) 2026-10-09 2585de5ce22ba3b597933ecf1afeda9b abs 10041 f9b8a044235910fd466607f5f62ebdb22a3ba2d8cb63a2373ed5d8716a2e0037
AC Certisign ICP-Brasil SSL EV G4 TLS leaf (precertificate) 2026-10-13 5489c6b8924089438ee9ea5f168d9e71 abs 12100 e8e2790fbf1ec72c34bb9f2420b3e99e3ceb8415040ac7339f9fd918b3510892
AC Certisign ICP-Brasil SSL EV G4 TLS leaf (precertificate) 2026-10-15 14ad96ea75aa1313147d90ddd816c1b6 either 81 4352e7d495e1e55336b5f1d43befa4262a8c8818175b9f21bc5a5b97c5c66681
AC Certisign ICP-Brasil SSL EV G4 TLS leaf (precertificate) 2026-10-16 1aaf4223220a009cb521eecc19d477ba abs 842 0efc85362e14c434e7641498eba9d1e70e1c18be3b3572b68bb6f179562061c2
AC Certisign ICP-Brasil SSL EV G4 TLS leaf (precertificate) 2026-10-16 016caeaf056fea804f84473d9d5866d3 abs 855 976a720d321a982125ff261645b26a0261811a8f51ad17ee7288efb70c438ee6
AC Certisign ICP-Brasil SSL EV G4 TLS leaf (precertificate) 2026-10-16 2d13a2085a86cba188d6d9c14747b8eb either 960 a88b0723fe89c54049028155d70020500cde00b257b609693ce8cdfd60236741
AC Certisign ICP-Brasil SSL EV G4 TLS leaf (precertificate) 2026-10-16 2bc00f4460766c9ec5c202e9aad71fe2 either 986 11d73f9a6618ac15047c42a385b9db833100e5c848d80c37dc030861303713b1
AC Certisign ICP-Brasil SSL EV G4 TLS leaf (precertificate) 2026-10-16 4a035b7a897e8ad817f4b62b2b9d0727 abs 1088 c8f55c8d285cd75d38ae382e922302ed1c456b8a9981c099a280279d90a19091
AC Certisign ICP-Brasil SSL EV G4 TLS leaf (precertificate) 2026-10-16 7e5c3106ccc23602dae301e80a53c1b7 either 1086 64a3bf855f53d8d9590bfb685d02ea43291e975ad5cdf63e9ed1c6b5dcfba131
AC Certisign ICP-Brasil SSL EV G4 TLS leaf (precertificate) 2026-10-16 475e9f854199258618ece92c736e8e7e either 1108 1561b48e11115e73639e283dc73b4543b52cb9ddedff8090439aeb8f7c37aca0
AC Certisign ICP-Brasil SSL EV G4 TLS leaf (precertificate) 2026-10-16 63e114559aa4e2cab5a8e43d1b34e71d abs 1123 057fb4256e8d928317c522c4ce2170e6cba9a7b192977fdd3d82bfecd6741bf7
AC Certisign ICP-Brasil SSL EV G4 TLS leaf (precertificate) 2026-10-16 30f62bdb550cbabc713a9cd19de490d2 abs 1162 8ac401b088a81ee1dc26c82bd3ac17152db4b66f2f896d84872e4116a3558eda
AC Certisign ICP-Brasil SSL EV G4 TLS leaf (precertificate) 2026-10-16 04af67b905e27e616212e9cd66e81395 abs 1174 6dedba1c64761f339636da070245906c110462b104b333e3e001950a38b5d911
AC Certisign ICP-Brasil SSL EV G4 TLS leaf (precertificate) 2026-10-16 0f43a6a15728efc0e26e13c736382597 abs 1157 8d4c6e9180f71cb2ecbdc908d4f19d2c747d215ee0bf5738d4e7ead81dea36a9
AC Certisign ICP-Brasil SSL EV G4 TLS leaf (precertificate) 2026-10-23 2ef1527c09302ffa9a2fa158d8a678f1 either 5881 8a935e850a8d98a93120c0f062b5016c76f729d7a8ffb2ed6d8b6be7fa0d6049
AC Certisign ICP-Brasil SSL EV G4 TLS leaf (precertificate) 2026-10-23 5de6f13ff85a99be398f148e26044ccd abs 5942 c6a8def205d5c8955868536e8d81a645bd65ea5e633cf87c94332433b8f3a638

For a serial whose draw has the top bit clear ("either"), the result counts the abs layout's kept results, as the stream's other serials do.

Attached file serial-poc.zip —

Reproducing

serial-poc.zip holds:

  • SerialStreamCheck.java and serial_stream_check.py, the stream check;
  • Md5CounterCheck.java and md5_counter_check.py, the counter check;
  • cases-ccadb.tsv, cases-subscriber.tsv and cases-microsoft.tsv, one line per stream: the seed window, the number of results to generate, and the serials;
  • expected-output.txt.

Any JDK 17 or later runs the Java versions with no build step. The Python versions need Python 3.8 or later and nothing outside the standard library, take the same arguments and print the same lines:

java SerialStreamCheck.java cases-ccadb.tsv
java SerialStreamCheck.java cases-subscriber.tsv
java SerialStreamCheck.java cases-microsoft.tsv
java Md5CounterCheck.java 7850e4ccad8a111ccf098f2268ed0ba9 4194304
java Md5CounterCheck.java 5ddfb1da5aa3ed5dbe5a6520650390ef 268435456
java Md5CounterCheck.java 4fd22b8ff564c8339e4f345866237060 1342177280 1073741824
java Md5CounterCheck.java 61d34d1aa854a26281586259fae6b361 1879048192 1610612736

python3 serial_stream_check.py cases-ccadb.tsv
python3 md5_counter_check.py 7850e4ccad8a111ccf098f2268ed0ba9 4194304

The counter check takes the serial, the end of the counter range and its start (the ranges cover each counter, about 20 seconds each).

Each case sweeps its window (2^24 seeds, 2^18 for the deep ones, or the few minutes of seeds the GPU sweep narrowed it to), seeds the JDK's SUN SHA1PRNG with each value, and reports which serials appear and where. On 6 threads the three cases files take about 8 minutes in all. --show-seed also prints the seed found. The Python version is slower, about 50 minutes on 6 processes for all three, with output identical to the Java run.

The short serials need no program. The serial's length is the proof: openssl x509 -noout -serial on any of them prints at most 8 hex digits.

serial-certs.zip holds the certificates themselves, so nothing has to be fetched by SHA-256:

  • every certificate the report cites, as PEM, sorted by section, CA and stream, with the issuing CAs and roots they chain to (chains/);
  • flow.csv: each certificate in stream order, with its result, layout, serial, notBefore and SHA-256;
  • streams.csv: each stream's seed and process-start range;
  • other.csv: the short-serial, serial-structure and MD5-counter certificates.

SECOM is sampled: its current process's first 100 results, then one certificate every 500 results to its last match, and a sample of the process before it. Every chain verifies with openssl verify except AC Certisign ICP-Brasil SSL EV G4's leaves, whose issuing CA is not in CCADB.

Attached file serial-certs.zip —

Outro

What's worth keeping in mind:

  • Non-exhaustive
  • Imperfect as it only checks CT-logged certificates. A CA using their system for more certificates types, or with a longer uptime isn't covered here
  • I've purposely not used this as a basis to check if the PRNG stream coinciding with Root/SubCAs can be used as a seed to reproduce private keys. That the CA hasn't used a CSPRNG when they said they have should already be enough doubt without that kind of PoC.
  • To repeat: the time-seeded search for the issuance findings will prioritise low-issuance CAs who had a system restart recently.
  • Not accounted for cross-signs and reissues, but that would only expand the scope not reduce it.

For outside parties to bring into this, the relevant CAs and EJBCA make sense. I'm holding it to just the Root Programs for now and letting you all make a judgment call. I suspect this is the tip of the iceberg on PRNG usage.

Now, any questions? I hope breaking these sections into individual comments is better than one document.

Hi Wayne,

Thanks for this work. CABF Ballot 164 made the 64-bit CSPRNG-output requirement mandatory to mitigate hash collision attacks and provide protection against future hash-function weaknesses. The 2008 MD5 rogue-CA demonstration illustrates the importance of this defense. (In a chosen-prefix collision attack, an acceptable certificate and a malicious certificate are constructed to have the same hash, allowing the CA’s signature on the former to validate the latter without compromising the CA’s private key.) It does not appear that these findings implicate the security of subscriber private keys generated independently of CA systems.

For follow-up, it might be useful for us to ask the affected CAs to examine whether similar weaknesses in randomness sources or seeding mechanisms affect other cryptographic operations, including generation of their own CA keys, and to provide supporting findings that help us establish whether the issue is limited to serial generation or has broader implications for key security.

Ben

Assignee: nobody → bwilson
Status: NEW → ASSIGNED

I've unchecked the security flag and have made this bug public.

Group: ca-program-security

Okay then.

To further make the point on EJBCA's usage of BouncyCastle (in the Community Edition...):

  • Makes a call to the SP800SecureRandomBuilder.buildHash class which does not exist in the FIPS variants.

Did a pass on all BouncyCastle versions (FIPS or not) to make sure. We'd need to check with EJBCA's devs or have someone with direct access to assess, but I'm unconvinced that any usage to date is CSPRNG compliant with the BRs.

Additionally if a bug is changed to public could any prior notice be provided please?

Group: ca-program-security

I tried to clean up the data for presentation, what are the opinions of adding the two researchers concurrently finding #2087236 to this incident?


Weak serial-number generators at CAs in CCADB

Every certificate below is a CCADB record. Stores lists the root programs that include or trust it (Apple, Chrome, Microsoft, Mozilla). Revoked is CCADB's revocation status. Each serial was recomputed from the generator and the value shown.

CA Construction CCADB certificates
BJCA, GDCA, SSL.com, Actalis, TunTrust, Firmaprofesional, MULTICERT, PKIoverheid, Entrust (AffirmTrust), CAEDICOM, ZETES EJBCA's pre-2016 serial generator: SHA1PRNG seeded once with a millisecond time plus a hash code 58
SHECA (UniTrust) MD5 of a 31-bit number written in decimal 17
TWCA notBefore date, a counter and 3 random bytes; subscriber serials carry 63 random bits 23
Certigna java.util.Random 1

1. EJBCA SHA1PRNG (pre-2016 EJBCA)

SecureRandom r = SecureRandom.getInstance("SHA1PRNG");
r.setSeed(seed);                 // seed = System.currentTimeMillis() + a 31-bit hash code
serial = r.nextBytes(octets);   // draw d of the process; top bit cleared or absolute value for a positive INTEGER

Knowing the seed gives every serial of the process. Certificates made in one ceremony share one seed: their serials are consecutive draws. Seeds are the setSeed argument.

Actalis

Certificate Type Not before Serial Seed Draw Stores Revoked SHA-256
Actalis Authentication Root CA Root 2011.09.22 570a119742c4e3cc 1316466987607 0 Apple, Chrome, Microsoft, Mozilla no 55926084ec963a64…

Agence Nationale de Certification Electronique

Certificate Type Not before Serial Seed Draw Stores Revoked SHA-256
TunTrust Root CA Intermediate 2019.04.18 27b4bd1d08289f6d78e2cedceef25dca3a702990 1556939276654 1 Chrome, Microsoft, Mozilla no babbca986946352c…
TunTrust Root CA Root 2019.04.26 1302d5e2404c92468616675db4bbbbb26b3efc13 1557462616668 0 Chrome, Microsoft, Mozilla no 2e44102ab58cb854…
TunTrust Services CA Intermediate 2019.04.26 601a7c2f6093b7a673da5f8c9c885f37a75897c0 1557462616668 3 Chrome, Microsoft, Mozilla no 063627355c941a1c…

Autoridad de Certificacion Firmaprofesional

Certificate Type Not before Serial Seed Draw Stores Revoked SHA-256
Autoridad de Certificacion Firmaprofesional CIF A62634068 Root 2009.05.20 53ec3beefbb2485f 1242822756445 0 Apple, Microsoft no 04048028bf1f2864…
AC Firmaprofesional - CUALIFICADOS Intermediate 2014.09.18 0d0366455e6e29d4 1411041675877 1 Apple, Chrome, Microsoft, Mozilla no 2b75cc4f36759cfc…
Autoridad de Certificacion Firmaprofesional CIF A62634068 Root 2014.09.23 1b70e9d2ffae6c71 1411509508731 0 Chrome, Microsoft, Mozilla no 57de0583efd2b26e…

BEIJING CERTIFICATE AUTHORITY Co., Ltd.

Certificate Type Not before Serial Seed Draw Stores Revoked SHA-256
BJCA DV SSL CA1 Intermediate 2019.12.19 25a139b24f1162b66ef4febf82293c6d 1577366466445 9 Mozilla no b408d6c820971216…
BJCA DV SSL CA2 Intermediate 2019.12.19 54f06769c60b2548c6e1e9dd380c120c 1577366466445 17 Mozilla no 3f5cb1531cb1223a…
BJCA EV SSL CA1 Intermediate 2019.12.19 38c9674012b231f5eee6fb3610c67c4c 1577366466445 6 Mozilla no 115a2a45db520361…
BJCA EV SSL CA2 Intermediate 2019.12.19 38c6967a3743d4500c55832455a94771 1577366466445 14 Mozilla no e601477705341270…
BJCA Global Root CA1 Root 2019.12.19 556f65e3b4d9906a1b09d16c3ec06c20 1577366466445 0 Mozilla no f3896f88fe7c0a88…
BJCA Global Root CA2 Root 2019.12.19 2c17087d642ac0fe85185906cfb44aeb 1577366466445 2 Mozilla no 574df6931e278039…
BJCA IV SSL CA1 Intermediate 2019.12.19 56b0fed3abf74ded9a588cd07ae54015 1577366466445 8 Mozilla no d70c597009af3a3a…
BJCA IV SSL CA2 Intermediate 2019.12.19 5d4c8d145a46bd8bbef6dbfbbed7da07 1577366466445 16 Mozilla no 2f9f41114dcadc30…
BJCA OV SSL CA1 Intermediate 2019.12.19 2d0c54ff050acaf1be28ef1e4b2b886b 1577366466445 7 Mozilla no 0a6bc3e2024ac462…
BJCA OV SSL CA2 Intermediate 2019.12.19 7c95cf0b86669c9038662641cb7a9b22 1577366466445 15 Mozilla no 3a1a4bd6a6246857…
BJCA DV SSL CA2 G2 Intermediate 2025.05.28 54f9c503582882276974c7d3f73a1fdd 1750420684681 7 Mozilla no 95e29d5250328259…
BJCA EV SSL CA2 G2 Intermediate 2025.05.28 15036eb25b066f4544ad3cbc3c074fa1 1750420684681 4 Mozilla no d8ac54fafbfbdb6c…
BJCA IV SSL CA2 G2 Intermediate 2025.05.28 30850431837fe177f6b025852b07a714 1750420684681 6 Mozilla no d6f1024433086947…
BJCA OV SSL CA2 G2 Intermediate 2025.05.28 6c3523a831446f8b57f242fa3e485fbd 1750420684681 5 Mozilla no 9fcc416118949c31…
BJCA DV SSL CA1 G2 Intermediate 2025.05.29 4c83fb2a38af5f52daee7a67aaedd6d3 1749584330021 3 Mozilla no 07f80fd793bee4c8…
BJCA EV SSL CA1 G2 Intermediate 2025.05.29 2102bee78bfe58b0ad1f1e2993c47fdf 1749584330021 0 Mozilla no dc7fc62ada41a93a…
BJCA IV SSL CA1 G2 Intermediate 2025.05.29 7464a867c2008751f0ce204ff1fb5e5d 1749584330021 2 Mozilla no 33b5b7c21e66504f…
BJCA OV SSL CA1 G2 Intermediate 2025.05.29 7d87ab5ea7f6310b0f7c37c63f2ce6d2 1749584330021 1 Mozilla no 321fb5bd2625f809…

EDICOM

Certificate Type Not before Serial Seed Draw Stores Revoked SHA-256
CAEDICOM Root Root 2014.05.21 00fb712658ad99e5 1401783613918 1 Microsoft no 1501f89c5c4dcf36…

Entrust

Certificate Type Not before Serial Seed Draw Stores Revoked SHA-256
AffirmTrust Commercial Root 2010.01.29 7777062726a9b17c 1266599607416 0 Apple no 0376ab1d54c5f980…
AffirmTrust Networking Root 2010.01.29 7c4f04391cd4992d 1266599607416 4 Apple no 0a81ec5a929777f1…
AffirmTrust Premium Root 2010.01.29 6d8c1446b1a60aee 1266599607416 8 Apple no 70a73f7f376b6007…
AffirmTrust Premium ECC Root 2010.01.29 7497258ac73f7a54 1266599607416 24 Apple no bd71fdf6da97e4cf…

Global Digital Cybersecurity Authority Co., Ltd. (Formerly Guang Dong Certificate Authority (GDCA))

Certificate Type Not before Serial Seed Draw Stores Revoked SHA-256
GDCA TrustAUTH R5 ROOT Root 2014.11.26 7d0997fef047ea7a 1417112931877 3 Apple, Chrome, Microsoft, Mozilla no bfff8fd04433487d…
GDCA TrustAUTH R4 DV SSL CA2 Intermediate 2026.02.25 4ba6397c02f5b7b14350e2f96bd6c3fd 1747247507600 2 Apple, Chrome, Microsoft, Mozilla no 2f7d8eeab71116cd…
GDCA TrustAUTH R4 EV SSL CA2 Intermediate 2026.02.25 5794f0435036c354e01a0eb07f2e8bbd 1747247507600 4 Apple, Chrome, Microsoft, Mozilla no 422952c2bc58a467…
GDCA TrustAUTH R4 OV SSL CA2 Intermediate 2026.02.25 23eee2fc486fe64bb7e6c876cd241461 1747247507600 3 Apple, Chrome, Microsoft, Mozilla no 9b69c6ecda5593c4…

Government of The Netherlands, PKIoverheid (Logius)

Certificate Type Not before Serial Seed Draw Stores Revoked SHA-256
QuoVadis PKIoverheid Organisatie Persoon CA - G3 Intermediate 2016.11.03 24a7a2b620f903e3 1480227845143 3 Microsoft, Mozilla no 15073c6bbdc74699…
QuoVadis PKIoverheid Organisatie Services CA - G3 Intermediate 2016.11.03 4b22df24709277e9 1480227845143 5 Microsoft, Mozilla no becfde124cedd344…
KPN BV PKIoverheid Organisatie Persoon CA - G3 Intermediate 2016.12.08 0f08387dd5df4b99 1483000416922 2 Microsoft, Mozilla no a9b5698c5263beff…
KPN BV PKIoverheid Organisatie Services CA - G3 Intermediate 2016.12.08 43f05cbc60cb61f1 1483000416922 0 Microsoft, Mozilla no f22db657a1a92984…
UZI-register Medewerker niet op naam CA G3 Intermediate 2017.05.09 5ce40505b5fc2352 1495704841488 0 Microsoft, Mozilla no 38ded3ff68275790…
UZI-register Medewerker op naam CA G3 Intermediate 2017.05.09 1d857d9eb996200b 1495704841488 1 Microsoft, Mozilla no d8553a2880e96b7a…
UZI-register Zorgverlener CA G3 Intermediate 2017.05.09 22216a9429ea5234 1495704841488 2 Microsoft, Mozilla no 3ead4f72f06f1054…

MULTICERT

Certificate Type Not before Serial Seed Draw Stores Revoked SHA-256
MULTICERT Root Certification Authority 01 Root 2014.04.04 544da5bc4035565a 1398144627463 0 Microsoft no 604d32d036895aed…
MULTICERT Advanced Certification Authority 005 Intermediate 2019.12.09 59c45b154d493a74c76698fdb159db00 1576019595476 3 Microsoft no 24edd4e503a8d3fd…
MULTICERT QWAC Certification Authority 005 Intermediate 2019.12.09 5692ab48c4dc0d550ed4c5132a95ebc9 1576019595476 4 Microsoft no 35a1faa8c8112566…
MULTICERT Timestamping Certification Authority 005 Intermediate 2019.12.09 41c18ef2ac35e3179ab7f511d6052b80 1576019595476 0 Microsoft no e8627ac236183a42…
MULTICERT Trust Services Certification Authority 005 Intermediate 2019.12.09 1099e1db9a2f45ab7a770e509956b19e 1576019595476 1 Microsoft no 48a153e21e1b8c64…

SSL.com

Certificate Type Not before Serial Seed Draw Stores Revoked SHA-256
SSL.com EV Root Certification Authority ECC Root 2016.02.12 2c299c5b16ed0595 1457130106141 10 Apple, Chrome, Microsoft, Mozilla no 22a2c1f7bded704c…
SSL.com RSA SSL subCA Intermediate 2016.02.12 0997ed109d1f07fc 1457130106141 15 Apple, Chrome, Microsoft, Mozilla no 527a60b02abf3a4a…
SSL.com Root Certification Authority ECC Root 2016.02.12 75e6dfcbc1685ba8 1457130106141 9 Apple, Chrome, Microsoft, Mozilla no 3417bb06cc6007da…
SSL.com Root Certification Authority RSA Root 2016.02.12 7b2c9bd316803299 1457130106141 0 Apple, Chrome, Microsoft, Mozilla no 85666a562ee0be5c…
SSL.com Code Signing Intermediate CA RSA R1 Intermediate 2016.06.24 643351d3c7389f08 1466865068582 0 Microsoft no 8f6d67c6f8fc5159…
SSL.com EV Code Signing Intermediate CA RSA R2 Intermediate 2017.04.06 3ba74d76ad86e78e 1493214490487 8 Microsoft no d8d382e37d2f9381…
SSL.com EV Root Certification Authority RSA R2 Intermediate 2017.04.06 4ef232176d9bea14 1493214490487 0 Apple, Chrome, Microsoft, Mozilla no 89efeb25096ba4cc…
SSL.com EV Timestamping Intermediate CA RSA R1 Intermediate 2017.04.06 01dee6cec92b46d8 1493214490487 9 Microsoft no 554e3ae314aff264…
SSL.com EV Root Certification Authority RSA R2 Root 2017.05.31 56b629cd34bc78f6 1497543506464 0 Apple, Chrome, Microsoft, Mozilla no 2e7bf16cc22485a7…

Zetes

Certificate Type Not before Serial Seed Draw Stores Revoked SHA-256
ZETES TSP ROOT CA 001 Root 2016.05.20 02541aa950d7ce1f 1464551543364 0 Microsoft no 016e1dcd5f78841b…
ZETES TSP CA FOR TSA 001 Intermediate 2017.10.19 2e31e474f60591ba 1508744802610 0 Microsoft no 024fd634002f59db…
ZetesConfidens - Signature Creation Service - Issuing CA 001 Intermediate 2019.09.17 2ff642ad1aea7e0b 1569131943988 0 Microsoft no e1e418b0fe70196d…

Subscriber issuance from the same generator

CT serials under these CAs that one SHA1PRNG stream explains (first 4,096 draws).

Issuing CA Serials explained / held Example
SECOM Trust Systems Co., Ltd.: JPRS DV RSA CA 2024 G1 3083 / 6449 000aa2df5ad374da…
SECOM Trust Systems Co., Ltd.: NII Open Domain CA - G8 RSA 677 / 1399 b1df2c7991a82e72…
SECOM Trust Systems Co., Ltd.: SECOM Passport for Web OV RSA CA 2024 235 / 626 100b24696c41d56f…
SECOM Trust Systems Co., Ltd.: JPRS OV RSA CA 2024 G1 44 / 138 d75a1047fd3f6e0c…
SECOM Trust Systems Co., Ltd.: NII Open Domain CA - G8 ECC 27 / 77 daf64d2718266bad…
Global Digital Cybersecurity Authority Co., Ltd. (Formerly Guang Dong Certificate Authority (GDCA)): GDCA TrustAUTH R4 DV SSL CA2 17 / 18 db836505bf7e7f6c…
Global Digital Cybersecurity Authority Co., Ltd. (Formerly Guang Dong Certificate Authority (GDCA)): GDCA TrustAUTH R4 OV SSL CA2 16 / 21 bf7fac7bf6839fec…
SECOM Trust Systems CO., LTD.: JPRS Domain Validation Authority - G4 15 / 42 833bc252fca7d8e6…
SECOM Trust Systems CO., LTD.: SECOM Passport for Web SR 3.0 CA_2018-2028; SECOM Trust Systems Co., Ltd.: SECOM Passport for Web SR 3.0 CA 7 / 16 afbf20d69a3cfebd…
SECOM Trust Systems Co., Ltd.: SECOM Passport for Web OV ECC CA 2024 3 / 4 016751102dcada75…
Global Digital Cybersecurity Authority Co., Ltd. (Formerly Guang Dong Certificate Authority (GDCA)): GDCA TrustAUTH R5 ROOT 2 / 6 9b69c6ecda5593c4…
Asseco Data Systems S.A.: SSL.com Root Certification Authority RSA; SSL.com: SSL.com Root Certification Authority RSA 1 / 9 …
Agence Nationale de Certification Electronique: TunTrust Root CA 1 / 4 2e44102ab58cb854…
BEIJING CERTIFICATE AUTHORITY Co., Ltd.: BJCA DV SSL CA1 G2 1 / 2 5805683bccabfbea…
BEIJING CERTIFICATE AUTHORITY Co., Ltd.: BJCA DV SSL CA2 G2 1 / 2 df64305d7047d518…
Global Digital Cybersecurity Authority Co., Ltd. (Formerly Guang Dong Certificate Authority (GDCA)): GDCA TrustAUTH R4 EV SSL CA2 0 / 2 a4896864d53884ce…
SECOM Trust Systems CO., LTD.: JPRS Organization Validation Authority - G4 0 / 4 11e2fa7e1baa0dc7…

2. SHECA (UniTrust): MD5 of a decimal number

n      = random integer in [0, 2^31)
serial = MD5(ASCII decimal of n), first byte = (b[0] & 0x3F) | 0x40

Each serial holds at most 31 bits. No leaf serial uses this construction.

Certificate Issuer Not before Serial n Stores Revoked SHA-256
SHECA Extended Validation Code Signing CA UCA Extended Validation Root 2015.03.13 59f19a2deaed848c4ad7d3904cb5065a 1689663927 none yes a392c645b9a5ad6a…
SHECA Extended Validation SSL CA UCA Extended Validation Root 2015.03.13 4d8ba7b4df9e1153e1c80dee3e6f409a 378190557 none yes 25bfdb1c5fe2cce0…
UCA Extended Validation Root Shanghai Electronic Certification Authority Co., Ltd. 2015.03.13 4fd22b8ff564c8339e4f345866237060 1322206479 Chrome, Microsoft, Mozilla no d43af9b35473755c…
SHECA Global G3 Code Signing UCA Global G2 Root 2016.03.11 5373d1ce3891db30d83dad7d40919e09 1461876710 none yes eaa5ad8e9a2fa992…
SHECA Global G3 SSL UCA Global G2 Root 2016.03.11 547ab8e65918a2b9bfda14a68dc58eb2 822353057 none yes aeffe4335ee56422…
UCA Global G2 Root Shanghai Electronic Certification Authority Co., Ltd. 2016.03.11 5ddfb1da5aa3ed5dbe5a6520650390ef 170622856 Chrome, Microsoft, Mozilla no 9bea11c976fe0147…
SHECA RSA Code Signing CA G3 UCA Global G2 Root 2018.04.27 47ba2077f31ccd4a3e3d9e4101c8f347 612894476 none yes c7e976aa77e92491…
SHECA RSA Domain Validation Server CA G3 UCA Global G2 Root 2018.04.27 45bc3a5a3b9762660792bf95059debd1 1005531709 none yes 0a552a65f22ff820…
SHECA RSA Extended Validation Code Signing CA UCA Extended Validation Root 2018.04.27 7f993a8390ec929b8879384b11657095 644875329 none yes d404fafa4ba2f426…
SHECA RSA Extended Validation Server CA UCA Extended Validation Root 2018.04.27 52e843b1967e54cea0592c37a16f9a94 2040051795 none yes 4fd6fa527157eea4…
SHECA RSA Organization Validation Server CA G3 UCA Global G2 Root 2018.04.27 7465177ada1cf0f321bbec942aac6bfb 453406627 none yes 26fd4c4367e463d3…
SHECA RSA Time Stamp Authority G1 UCA Global G2 Root 2018.04.27 4d11c1710d2287c0ea21cfece1e074b0 728109899 none yes 86ee4a2f93137ca8…
SHECA SMIME CA G1 UCA Global G2 Root 2021.08.18 521bb62707a1516de4ca2a2d91edcca1 594476897 none yes 8100d384d6c45298…
SHECA OV Server CA G6 UCA Extended Validation Root 2022.11.08 47468fc559605f55feb7a9926e4d184f 1114584101 none yes 264df1458fb5ef1f…
SHECA OV Server CA G7 UCA Extended Validation Root 2023.03.28 7bd20cf9d6e1f934d999a8d67a079619 19871643 none yes f6f8bcd413c97331…
Xinnet DV SSL UCA Global G2 Root 2023.07.05 7850e4ccad8a111ccf098f2268ed0ba9 4150381 Apple, Chrome, Microsoft, Mozilla no 9c53902f9501f6d8…
Xinnet OV SSL UCA Global G2 Root 2023.07.05 61d34d1aa854a26281586259fae6b361 1780570662 Apple, Chrome, Microsoft, Mozilla no 3c07d7efc8d458f6…

3. TWCA: date, counter and 24 random bits (CA certificates); 63 random bits (subscribers)

CA certificates (also in Bug 2087236):

40 | notBefore as YYYYMMDD (4 bytes) | 00 00 00 00 00 00 | counter (2 bytes) | random (3 bytes)
Certificate Issuer Not before Serial Date Counter Random Stores Revoked SHA-256
TWCA EVSSL Certification Authority TWCA Root Certification Authority 2011.06.10 400132dd120000000000000cc1e1f977 20110610 0cc1 e1f977 none yes 7f1229b48517f2a6…
TWCA InfoSec User CA TWCA Root Certification Authority 2012.06.08 40013304200000000000000cc2901d53 20120608 0cc2 901d53 none no a97ca1375b91953e…
TWCA Global EVSSL Certification Authority TWCA Global Root CA 2012.08.23 40013304f70000000000000cc042cd6d 20120823 0cc0 42cd6d Apple, Chrome, Microsoft, Mozilla no 49695a5f0f7ef6ed…
TWCA Global Root CA TWCA Root Certification Authority 2014.10.28 40013353e40000000000000cca5d1b69 20141028 0cca 5d1b69 Apple, Chrome, Microsoft, Mozilla no 8ad47f6d70a44fa8…
TWCA InfoSec User CA TWCA Root Certification Authority 2014.10.28 40013353e40000000000000cc97138a0 20141028 0cc9 7138a0 none no 074840e3a67dcd26…
TWCA Secure SSL Certification Authority TWCA Global Root CA 2014.10.28 40013353e40000000000000cc36e888d 20141028 0cc3 6e888d none no 9b16f2f680d7c4bd…
TWCA InfoSec User CA TWCA Root Certification Authority 2018.10.12 400133f0140000000000000ccfae3cd7 20181012 0ccf ae3cd7 none yes c00a8183c9865a08…
TWCA InfoSec User CA TWCA Global Root CA 2018.10.12 400133f0140000000000000cc70241af 20181012 0cc7 0241af Apple, Microsoft, Mozilla no bfaaf990b98d9168…
TWCA CYBER Root CA Taiwan-CA Inc. (TWCA) 2022.11.22 4001348cc200000000000000013cf2c6 20221122 0001 3cf2c6 Chrome, Microsoft, Mozilla no 3f63bb2814be174e…
TWCA Global Root CA G2 Taiwan-CA Inc. (TWCA) 2022.11.22 4001348cc200000000000000019758f4 20221122 0001 9758f4 Microsoft, Mozilla no 3a0072d49ffc04e9…
TWCA CYBER Root CA TWCA Global Root CA 2022.12.09 4001348d190000000000000ccdf9937a 20221209 0ccd f9937a Apple, Chrome, Microsoft, Mozilla no c619f4e6f7b1baa7…
TWCA Global Root CA G2 TWCA Global Root CA 2022.12.09 4001348d190000000000000ccce78f26 20221209 0ccc e78f26 Apple, Chrome, Microsoft, Mozilla no d53bf4968a7db3c8…
TWCA EVSSL Certification Authority TWCA CYBER Root CA 2023.02.23 400134b04f0000000000000004aa7b0a 20230223 0004 aa7b0a Apple, Chrome, Microsoft, Mozilla no f76e3339a6773dc5…
TWCA InfoSec User CA TWCA Global Root CA G2 2023.02.23 400134b04f000000000000000379e6d4 20230223 0003 79e6d4 Apple, Microsoft, Mozilla no d607994290574f7e…
TWCA SSL Certification Authority TWCA CYBER Root CA 2023.02.23 400134b04f0000000000000003e324ac 20230223 0003 e324ac Apple, Chrome, Microsoft, Mozilla no 01af2324d098098f…
TWCA Timestamping Certification Authority TWCA Global Root CA G2 2023.02.23 400134b04f000000000000000413d164 20230223 0004 13d164 none yes 6283762ce8ca9698…
TWCA Secure SSL Certification Authority TWCA Global Root CA 2023.04.13 400134b10d0000000000000cce97fbb2 20230413 0cce 97fbb2 none yes 0ed5671aee9616cd…
TWCA Secure SSL Certification Authority TWCA Global Root CA 2023.08.18 400134b2a20000000000000ccf71354c 20230818 0ccf 71354c Apple, Chrome, Microsoft, Mozilla no c6e96a1745707099…
TWCA Secure SSL Certification Authority TWCA Global Root CA 2023.10.16 400134b3680000000000000cd0aa08ec 20231016 0cd0 aa08ec Apple, Chrome, Microsoft, Mozilla no 1a2c75fd096e0499…
TWCA InfoSec User CA TWCA Global Root CA 2024.03.15 400134d7bb0000000000000cd2f1f753 20240315 0cd2 f1f753 Apple, Microsoft, Mozilla no b806fc5fe830cb5d…
TWCA EVSSL Certification Authority TWCA CYBER Root CA 2024.09.06 400134da0a000000000000000782d7a0 20240906 0007 82d7a0 Apple, Chrome, Microsoft, Mozilla no cac9fd0cd35aa5c4…
TWCA InfoSec User CA TWCA Global Root CA G2 2024.09.06 400134da0a0000000000000005a19be6 20240906 0005 a19be6 Apple, Microsoft, Mozilla no 0936ea8c5fba53b8…
TWCA SSL Certification Authority TWCA CYBER Root CA 2024.09.06 400134da0a0000000000000006aac553 20240906 0006 aac553 Apple, Chrome, Microsoft, Mozilla no 815c549c6976bf16…

Subscriber certificates:

47 e9|ea | 00 00 | counter (4 bytes) | random (8 bytes, top bit always 0)

The top bit of the random field is 0 in all 2,291 CT serials checked (TWCA SSL CA and TWCA Secure SSL CA), so the field holds 63 bits, below the 64 the Baseline Requirements require. Five examples (issuer, notBefore, serial):

Issuing CA Not before Serial
TWCA SSL Certification Authority 2026-10-12 47ea00000009826858cb4b51bd7da165
TWCA SSL Certification Authority 2026-10-12 47ea000000098317654ef910d1b903d3
TWCA Secure SSL Certification Authority 2025-10-13 47e9000000088cc87d9a278ef206904d
TWCA Secure SSL Certification Authority 2025-10-13 47e9000000088ccc5e91ee2ea7af8a52
TWCA EVSSL Certification Authority 2026-10-13 47ea000000125de6032a24ee9beff646

4. Certigna: java.util.Random

The cross-certificate issued by Certigna (Dhimyotis) to Certigna Root CA on 2025-11-28 (Bug 2085769):

serial = 64 || Random.nextBytes(19)
Random state before the draws: 106156917893752; setSeed value (low 48 bits): 106142794337301 (0x60894b8d4c15)
Certificate Issuer Not before Serial Stores Revoked SHA-256
Certigna Root CA (cross-certificate) Certigna 2025-11-28 645d904626e5f63bbf8ff9577823b22cc18459ac Apple, Chrome, Microsoft, Mozilla no 99977bf1ca323fa9…

All five 32-bit outputs follow from the state.

Great work on this analysis Wayne, and thank you for including Prasanth and I on this Bugzilla as our findings were only scratching the surface of what you have uncovered.
You've convincingly completed the root cause analysis and linked the predictable generation streams directly back to timestamps preceding the notBefore date of the certificates, likely tracking back to system boots or container restarts on the underlying hosts running EJBCA.

That said, while the empirical proof across these live CA streams is fantastic to see, the underlying phenomenon of weak entropy sources and boot-time starvation tied to system clocks and legacy software PRNGs (such as Java's SHA1PRNG or early Linux /dev/urandom bottlenecks) is quite well-documented in prior security literature https://www.usenix.org/system/files/conference/usenixsecurity12/sec12-final228.pdf

At the moment, Prasanth and I find ourselves aligned with the core question raised by Ben and yourself: Does flawed serial number generation, relying on software libraries of the underlying OS or JVM hosting EJBCA, actually imply or 'suggest' that the cryptographic key generation pipeline was similarly exposed to a weak entropy source?

To resolve this cleanly, we perhaps need to consider reaching out directly to the CAs identified with the latest KSC dates and politely ask for their PKCS#11/HSM audit logs or interface traces. If we see onboard HSM logs for keygen but not for the serial number creation (which as you've discussed is likely a result of EJBCA using the entropy of the OS system clock rather than the HSM). (I appreciate some of your other findings were worse, like MD5 hashing counters).

I'm not sure that we can ask the CA's for this - it's just a suggestion whilst we can set up a lab to replicate an EJBCA integration with a FIPS validated cloud HSM.

Ultimately, if we can verify via logs (or configuration disclosure) that key generation was offloaded to a validated HSM, do we fall back on trusting the NIST FIPS cryptographic module and algorithm certifications for the keygen implementations and internal DRBGs (setting aside historical concerns like Dual_EC_DRBG, of course)?

Curious to hear your thoughts on where we draw the architectural line here and what our next steps should be.

(In reply to Dr Angelique Faye Loe from comment #12)

Great work on this analysis Wayne, and thank you for including Prasanth and I on this Bugzilla as our findings were only scratching the surface of what you have uncovered.
You've convincingly completed the root cause analysis and linked the predictable generation streams directly back to timestamps preceding the notBefore date of the certificates, likely tracking back to system boots or container restarts on the underlying hosts running EJBCA.

That said, while the empirical proof across these live CA streams is fantastic to see, the underlying phenomenon of weak entropy sources and boot-time starvation tied to system clocks and legacy software PRNGs (such as Java's SHA1PRNG or early Linux /dev/urandom bottlenecks) is quite well-documented in prior security literature https://www.usenix.org/system/files/conference/usenixsecurity12/sec12-final228.pdf

Yes this is entirely built on the shoulders of giants, I don't posit this is original research. The advantage in scaling to test a brute-force search based on likely indicators of the issuance architecture is what's shaping this approach.

At the moment, Prasanth and I find ourselves aligned with the core question raised by Ben and yourself: Does flawed serial number generation, relying on software libraries of the underlying OS or JVM hosting EJBCA, actually imply or 'suggest' that the cryptographic key generation pipeline was similarly exposed to a weak entropy source?

To resolve this cleanly, we perhaps need to consider reaching out directly to the CAs identified with the latest KSC dates and politely ask for their PKCS#11/HSM audit logs or interface traces. If we see onboard HSM logs for keygen but not for the serial number creation (which as you've discussed is likely a result of EJBCA using the entropy of the OS system clock rather than the HSM). (I appreciate some of your other findings were worse, like MD5 hashing counters).

I'm not sure that we can ask the CA's for this - it's just a suggestion whilst we can set up a lab to replicate an EJBCA integration with a FIPS validated cloud HSM.

This is entirely why I brought the Root Programs in, and not the CAs. You've saw through 2085769 that a CA once aware treats an issue even disclosed as a security issue as an incident for public disclosure within 72h. My primary concern is that these PRNG issues can chain into the private keys - and I'm putting a lot of computation power into making sure that no low-hanging fruit similar to 4 exists based off of the public research so far.

The Root Programs are in a good position to ask for that data and do their own internal analysis, without upsetting a CA with any potential publication of their key generation ceremonies and scripts. I'm rather concerned at the overall competency of auditors as a whole in validating any of this as a 'third-party', even putting aside their monetary incentives not to find flaws.

Ultimately, if we can verify via logs (or configuration disclosure) that key generation was offloaded to a validated HSM, do we fall back on trusting the NIST FIPS cryptographic module and algorithm certifications for the keygen implementations and internal DRBGs (setting aside historical concerns like Dual_EC_DRBG, of course)?

Curious to hear your thoughts on where we draw the architectural line here and what our next steps should be.

I have yet to find an issue with a NIST FIPS cryptographic module that has been properly used, however that is wildly outside of my expertise. For EJBCA I only have the community edition to compare, so it is entirely likely that their enterprise release has proper FIPS integration.

My hope is that after more exhaustive attacks have been explored, a firm floor can be drawn on different cryptographic attacks on keys as a baseline requirement for any inclusion requests. Where to set that floor, and which precise attack types to incorporate would be up to the Root Programs, but I'm trying a broad approach based off of all current cryptanalysis research for RSA and ECDSA that would allow for full key recovery off of either the certificate along, or a modest issuance batch (1 million certs).

So far these are the PRNG sources I've been able to identify, it does not mean that's an exhaustive list however. I have as many PRNG families in the checklist, and am operating under a similar seed depth approach as what has found these serials. Likewise, using that PRNG output for a hash function to produce private key data is being explored, which I hope never gets a hit. After Certigna made their issue public, I had to shift focus onto preemptively getting ahead, as I doubt your research is the only other type going on concurrently.

Any input the Root Programs can offer would be appreciated. This is a large scale task, and involves some awkward questions with the CAs.

A few more thoughts regarding the findings identified in the research:

  1. Do the CA/B Forum Baseline Requirements (BR) require updating?
    The current requirement states:
    "MUST be a non‐sequential number greater than zero (0) and less than 2¹⁵⁹ containing at least 64 bits of output from a CSPRNG"

Strictly speaking, for any CSPRNG, if the seed (or current state) is known, which is the condition you have identified, the output stream becomes predictable.
Notice what the BR actually specifies: at least 64 bits of output from a CSPRNG.
What the BR fails to specify: drawn from a source with sufficient entropy (or wording to that effect).
Looking back prior to the 2017 SHA-1 deprecation, CAs using SHA1PRNG could technically argue they were using a recognised CSPRNG.
The same logic applies to the hybrid Bouncy Castle library identified in the report. Did these CAs use a CSPRNG? Yes.
Did they initialize it with a weak entropy source? Yes.

Because the BR mandates using a CSPRNG without explicitly governing the quality or seeding of its entropy source, does the BR require refinement based on your research?
In my opinion, yes. However, I leave it to the broader community of stakeholders to reach a formal consensus on the matter.

As an aside: CAs that used MD5 over a sequential counter, or those clearly generating insufficient entropy without a CSPRNG, should be treated differently. In those cases, the existing BR requirement was objectively not met (assuming those findings hold up under further peer review).

To summarize:

CAs that used a CSPRNG initialized with a weak seed represent an opportunity for continuous improvement of the BR, which should then trickle down into operational standards.
CAs with clear, unambiguous non-conformities to the existing BR present a direct consideration for the Root Programs and the CA/B Forum to address.

  1. Reliance on FIPS certification is a heavily Western-centric view

In a previous role, one of my teams worked on cryptographic assurance for vehicle homologation, which included compliance for the Chinese market.
What I encountered there is particularly relevant given the global distribution of the CAs identified in your research.

While Western frameworks typically lean on FIPS 140-2 Level 3 (historically) or FIPS 140-3 Level 3 (currently) as the gold standard, many HSM vendors operating in China are certified instead under the Office of State Commercial Cryptography Administration (OSCCA) and national GM/T standards.
This distinction is explicitly documented by major cloud providers, for instance, AWS notes that their KMS infrastructure uses OSCCA-certified HSMs rather than FIPS-validated hardware in its China regions https://docs.aws.amazon.com/kms/latest/developerguide/data-protection.html.

Fortunately, Section 6.2.7 of the Baseline Requirements for private key already accounts for non-FIPS module standards:
"6.2.7 Private key storage on cryptographic moduleThe CA SHALL protect its Private Key in a system or device that has been validated as meeting at least FIPS 140‐2 level 3, FIPS 140‐3 level 3, or an appropriate Common Criteria Protection Profile or Security Target, EAL 4 (or higher), which includes requirements to protect the Private Key and other assets against known threats."

I bring this up because if the community considers proposing stricter language around CSPRNG entropy sources or cryptographic module validation, leaning exclusively on FIPS terminology will fail to cover non-Western CAs whose hardware security modules are certified under alternative, sovereign national standards, and wording akin to requirement 6.2.7 appears to be a more inclusive statement for other cryptographic assurance standards beyond FIPS.

Hi,

My name is Mike Kushner, I'm a senior product architect for EJBCA at Keyfactor. I just want to say that we were alerted to this thread by Ben at US EOB last night and are aware of it. Pardon the brand new account – we're long time lurkers, but normally stay neutral on compliance discussions. Ben has met me in person multiple times at cabf over the years and can vet for this account if required.

First I'd like to say that we're always big fans of external analysis and thankful for any feedback that improves security and compliance of our products.

This is a long thread and we're going to have to put some time into sorting out serial numbers issued from versions prior to Ballot 164 compliance, those generated with forked or modified versions of our CE edition (as Wayne correctly surmised), those apparently generated by another code set altogether and those generated by a nominally compliant version of EJBCA, and in turn addressing potential issues or providing further context. We'll start work on this first thing Monday, and hopefully we'll have a statement ready during next week to post in this thread, in particular regarding use of SP800.

One thing I can address here and right now pertains to key generation. EJBCA CE uses PKCS#11 C_GenerateKeyPair to generate key onboard HSMs, and C_Sign to generate signatures onboard the HSM. The PKCS#11 API has no means to pass application RNG into the key generation process meaning that the HSM on board RNG is always used for key generation. EJBCA does not have a function for software key generation and import into HSMs, and has never has such functionality. This is easily verifiable in available source code on GitHub. If anybody wants to set up a large scale test using EJBCA CE running against a Cloud HSM you are of course welcome, and I'll gladly give any support or advice needed to help get it running.

To address Wayne's concerns above regarding differences between EJBCA CE and EE, they are functionally identical besides some protocols and features kept in the enterprise edition, and a delayed release schedule of some months except for critical security fixes. In short, CE is a subset of EE.

Cheers,
Mike

Just to clarify, my concern isn't EJBCA when used as intended, CE or EE. It's configurations that have shifted over time and not been updated correctly, or the forked versions that use the wrong implementations. If a CA has incorrectly configured or used EJBCA in this instance, then the concerns follow on to any other mechanism near the key generation ceremony. The CSPRNG near serials was just an easy path to identify these issues without direct data from the CAs themselves.

Likewise my note in Comment 10 regarding SP800SecureRandomBuilder.buildHash was focused on CE, as I see no reason why the correct path would exist outside of EE. However, it is an easy misstep for a CA to take and not reflective of EJBCA's actual intended practices. CE not having a direct FIPS pathway makes sense, and I'd expect EE to have more coverage it's just not something I have evaluated. I just had to clarify the judgment was off of the public source of CE, and limited my statements to that fixed subset.

Looking forward to seeing the RCA of these incidents, the implication of a CA running off of an actual fork of the CE is less than reassuring.

Hi Mike,

Thank you for looking into this great work that Wayne has engaged in. This statement gives a good level of assurance:
'One thing I can address here and right now pertains to key generation. EJBCA CE uses PKCS#11 C_GenerateKeyPair to generate key onboard HSMs, and C_Sign to generate signatures onboard the HSM. The PKCS#11 API has no means to pass application RNG into the key generation process meaning that the HSM on board RNG is always used for key generation. EJBCA does not have a function for software key generation and import into HSMs, and has never has such functionality. This is easily verifiable in available source code on GitHub. If anybody wants to set up a large scale test using EJBCA CE running against a Cloud HSM you are of course welcome, and I'll gladly give any support or advice needed to help get it running.'

I started looking deeper into the CMVP of a sample of HSMs (first the eMudhra HSM) and just another commonly used Thales HSM,
Their CMVP certs are https://csrc.nist.gov/projects/cryptographic-module-validation-program/certificate/4962 (Thales) and https://csrc.nist.gov/projects/cryptographic-module-validation-program/certificate/3925 (Utimaco).
As with all other commercial HSM's I've come to work with, there is a DRBG noted in the 'Approved Algorithms' section - and as such will align to SP-800-90A.

Then, digging into the lowest level, namely the TRNG, both have the relevant documentation for the underlying accreditted TRNGs.
i.e. https://crypto-hsm.com/wp-content/uploads/pdf/utimaco.hsm.se.pdf

So if we have the 'chain of entropy' solid i.e. validated TRNG feeds into the validated DRBG which is then called by the relevant KeyGen algorithm, then the entropy should be sound based on your assertion that EJBCA will not allow keygen to occur outside of the HSM.

However, as Wayne identified with eMudhra, if something breaks in the SOP (Standard Operating Procedure) such that the keygen can occur offboard, that seems to be where the more important issues of weak entropy keygen resides.

Now, all that said, to address Waynes' findings, could EJBCA (and other CA's) have configurable options to pull the s/n from the DRBG on the HSM rather than calling on the underlying OS for entropy? It seems that at the operational level + an update of the CA/B forum BR 164 wording to strengthen could largely address going forward weak CSPRNG seeds used in serial numbers as Wayne's research has uncovered.

Can we please make mention if we're going to arbitrarily add a single CA to this bug?

SSL.com were given exclusive access to this 4 hours ago, with no mention to anyone. I appreciate they were upset in their own bug, but that does not give them access to other CA's confidential information, nor access to what we know about their incident to ensure their record looks clean.

Everyone who has been added to this thus far has had good reason. If consideration is being given to provide CAs raw access to this research while they are still preparing their reports, can a discussion occur here prior to anyone being added going forward?

Hi Bugzilla,

Since our last post on Saturday we’ve been parsing this thread, and our goal here is to primarily address the concerns regarding serial number generations in currently supported versions of EJBCA. Again, we’re glad to see the diligent work of external researchers in detecting poor practices, questioning assumptions and inspiring further improvements to guaranteeing the security on the web. It’s why we do what we do.

Firstly, concerns regarding key generation have been already addressed in a previous comment. While we cannot prove a negative, code pertaining to key generation has been evaluated through Common Criteria.

Secondly, there is nothing for us to address regarding certificates issued from EJBCA versions prior to the 2019 compliance to Ballot 164, those issued using forked versions of EJBCA CE, and naturally from those which don’t appear to originate from EJBCA at all.

In response to Comment 10

SP800SecureRandomBuilder.getHash is a helper method in non-FIPS Bouncy Castle (BC). It creates a FIPS SP 800-90A1 compliant DRBG. The underlying implementation, in this case HashSP800DRBG, is the same in FIPS BC and non-FIPS BC. FIPS BC has a CMVP certificate2, and for non-FIPS BC the standard ACVP3 tests are run as well. SP800-90A specifies seeding, seed life, and reseeding for the DRBG. Seed is generated from SecureRandom.getInstanceStrong().generateSeed()4.

SecureRandom.getInstanceStrong()5 is by default mapped to the OS platform's “strong” blocking RNG, ensuring seeding and reseeding blocks if enough entropy is not available.

There is anecdotal occurrences of this happening in massive scale cloud systems where applications have blocked due to lacking entropy during reseeding. This is by design, but that is extremely rare and use usage conditions far exceeds normal operating conditions for most applications, and definitely for a CA deployment.

Java’s (OpenJDK/OracleJDK) own SecureRandom implementation, going back several years, also uses a SP800-90A DRBG by default. FIPS compliant but not FIPS certified.

In response to Comment 17

Now, all that said, to address Waynes' findings, could EJBCA (and other CA's) have configurable options to pull the s/n from the DRBG on the HSM rather than calling on the underlying OS for entropy? It seems that at the operational level + an update of the CA/B forum BR 164 wording to strengthen could largely address going forward weak CSPRNG seeds used in serial numbers as Wayne's research has uncovered.

Technically yes, the JVM can be configured to use PKCS11 as random source. While this may sound like a good idea, it may weaken the entropy instead of strengthening it, and does not pass certification in case network attached HSMs are used.

Pardon the lengthy post, but I’ll share some background on this.

The Protection Profile for Certification Authorities1 (PP) is used for Common Criteria certification of CA software. The PP includes the specification of, and validation of, entropy usage for security important operations. Certificate serial numbers are not security relevant according to NIAP, but key generation, for example for TLS session keys, is. The entropy is evaluated thoroughly by NIAP and the NSA. Entropy validation under CC looks at the whole chain from entropy source to the consumer of the entropy (the SP800-90A DRBG) and there must be no weak links.

When using a network attached HSM getting the whole chain, including the network connection, to be approved by NSA turns out to be really hard, nigh impossible for most HSMs. In fact using the HSM was our entry suggestion when doing our own CC certification1, but it could not be configured in a state that was approved. The only viable HSM source would be with a local on-board PCI HSM, something that is too restrictive for most deployments. On the other hand the operating system and the CPU RNG can form an approved entropy source.

The idea that the platform entropy source is never good enough is false, and there are ESV certificates2 to validate that.

You can also configure the JVM to use JENT, which is another entropy source with an ESV certificate3.

Other entropy source are also configurable in the JVM, like Quside4, and others.

Summary

To summarize our stance on this matter, given our own experiences of certification through Common Criteria and NIAP, and evaluation discussions with NIST and the NSA, we maintain that EJBCA’s treatment of serial number entropy aligns with recommended practices and standards.

Cheers,
Mike

By way of update regarding comment 3 by Wayne, regarding the 'CCADB: CA certificates, short serials',
The related TWCA bug https://bugzilla.mozilla.org/show_bug.cgi?id=2087236 has to date led to the Taiwan Ministry of Digital Affairs (MODA) to push for all govt agencies to replace their TLS certs (story here) https://www.taipeitimes.com/News/taiwan/archives/2026/11/05/2003867203.
Furthermore, CRLs were issued for the Intermediate CA's identified 'All 14 revocations are included in the respective root CA CRLs published on 2026-11-05 at 21:00 UTC.'

The former bugzilla is still awaiting the final report, due 2026/11/12 19:00 UTC, this includes discussion about x2 TWCA Root CA's - which based on the latest comment on the other bug is implicit that these are also acknowledged to lack the entropy demanded by Ballot 164.

Apologies if there is other work going on on various tickets that I'm not seeing, but curious what the decision/outcomes will be for the other CA's identified in comment 3 to have less than 64-bits of entropy, which is a clearer non-conformity of Ballot 164 than weakly seeded CSPRNG outputs which did meet the 64-bit entropy requirement, albeit in a 'bureaucratic compliance' tick box fashion.

My comment is based on the action seemingly being pushed by MODA rather than the root stores (at least publicly) at this point. Will other CA's identified to have the same entropy non-conformity also have to abide by BR requirement 4.9.1.2 Reasons for Revoking a Subordinate CA Certificate item 5?

Ben - I think we should consider removing the confidential flag from this bug, and the individual CA bugs opened in response. As it stands - we already have public bugs for other CA Owners for the same issue.

The most direct consequence of predictable serial numbers is losing the protection Ballot 164 was meant to give against chosen-prefix collisions, which is not known to be exploitable today with SHA-2 signatures.

I acknowledge the serial # entropy issues could be signal for other things/issues:

  • The serial pattern fingerprints the CA software. It identifies a pre-2016 EJBCA serial generator, or a fork of it, in use after the upstream fix, which could mark the CA as a target for anything else fixed upstream since.
  • It could indicate issuing systems that are out of date, locally modified, or not tracking upstream.
  • It raises the question of whether other functions that depend on randomness are similarly weak, for example DCV Random Values
  • It shows that earlier serial-entropy remediation, and the audits since, did not verify what was asserted.

IMO - restricting the bugs does not mitigate any of this - there's already public signal for these things (by the public serials ) - and the above concerns have not yet been raised (unless I've missed them).

Therefore, I'd recommend:

  • Either the six CA-specific reports have the confidential label removed - or the CAs file a new public report. We can post a comment (with suspense date) on each bug asking the CA's preference. If a new bug is opened, it must not be materially different from, or omit facts discussed in, the confidential bug, and root programs can compare the two.
  • In all cases, CAs must provide a report that follows the IRG format.

If anyone disagrees with that plan - please share that opinion here.

Flags: needinfo?(bwilson)

I'm unaware of any details in the CA bugs that are actually confidential, and the existing information as it stands would give a better understanding of what was occurring the background alongside concurrent research.

My concern earlier was for a single CA to get information ahead of the rest, before the other CAs had time to assess their own records. I believe they've all had sufficient time to investigate and resolve, and that the SHA1PRNG aspect has been contained. There's also the tricky situation of subCA generation and revocation occurring with no real indicators as to why publicly. Having their records public would help alleviate the situation.

I agree with making this bug public. Several CA owners already have public reports on certificate serial-number generation. Making this overview public will give readers the context to understand how the findings relate to the individual incidents and the actions CAs have taken.

We plan to make this bug public on Monday, November 23, at about 16:00 UTC. If you believe a specific comment or attachment still warrants restricted access, please identify it here before then and explain the concern so we can review it before changing visibility.

Flags: needinfo?(bwilson)

If that's the case then an overview of the CA bugs generated off of this would be advisable, currently they are:

BJCA: Investigate predictable certificate serial generation and implications for CA key security
GDCA: Investigate predictable certificate serial generation and implications for CA key security
PKIoverheid: Investigate predictable certificate serial generation and implications for CA key security
SECOM: Investigate predictable certificate serial generation and implications for CA key security
SHECA/UniTrust: Investigate predictable certificate serial generation and implications for CA key security
SSL.com: Investigate predictable certificate serial generation and implications for CA key security
Tuntrust/ANCE: Investigate predictable certificate serial generation and implications for CA key security

SHECA and SECOM have variants that are public, but the full scope of the issue and the Root -> Leaf chain for SECOM in particular aren't documented. The CAs are having to juggle public and private information for their ongoing incident reports, which could be made easier with their incidents being made public to allow the public to cross-reference what was happening behind the scenes.

So far no one's noticed the timeline for SECOM's incident not entirely matching what was public. We do need some sort of codified process for doing this properly going forward as well, a lot of this has been rather ad-hoc.

Separate notices with and different deadlines for action or response will be needed. I propose to advise them 2300 UTC on Monday to object. I am sending out those notices as comments inside the above-referenced 7 bugs.

Here is information about the publicly disclosed versions of these incident reports:

  • BJCA (Bug 2087686) — Bug 2096163 is identified as the follow-up.
  • GDCA (Bug 2087677) — GDCA indicates Bug 2087677 can be made public.
  • PKIoverheid / Logius (Bug 2087703) — Logius objects to making the confidential bug public and says it plans to publish a sanitized version in Q1 2027.
  • SECOM (Bug 2087694) — The public incident report is in Bug 2087990.
  • SHECA / UniTrust (Bug 2087707) — The public incident report is in Bug 2090881.
  • SSL.com (Bug 2087713) — The public incident report is in Bug 2096692.
  • TunTrust / ANCE (Bug 2087715) — Will file a public incident report on 24 November 2026
Group: ca-program-security

D-Trust acknowledges the report in comment 3 concerning two D-Trust CA certificates with notBefore 2016-11-16: D-TRUST CA 2-2 EV 2016 (serial 0fe48e, for issuing TLS certificates) and D-TRUST Application Certificates CA 3-2 2016 (serial 0fe48c, for issuing S/MIME certificates).

Our preliminary findings confirm that both serial numbers are three octets long and therefore cannot contain 64 bits of output from a Cryptographically Secure Pseudorandom Number Generator (CSPRNG). Both certificates were issued after 2016-09-30, when this requirement took effect for certificates within the scope of the TLS Baseline Requirements (Ballot 164). Both certificates are currently valid.

We will open a dedicated incident bug by 2026-11-26 to document our investigation and will link it here.

As committed in comment 28, we have opened Bug 2097595 for the two D-Trust CA certificates identified in comment 3. Both certificates were revoked on 2026-11-24. Further updates on this incident will be posted in Bug 2097595.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: