You're probably listening to CertStream wrong

• Sicarius - Profundis Team Updated
certificate-transparencycertstreamreconinfrastructure
On this page

Hey there,

If you watch new domains for phishing, brand abuse or bug bounty, there’s a good chance your setup starts with CertStream. You connect to a websocket and certificates scroll by as they’re issued. It looks like a firehose, so you assume you’re getting everything.

We assumed that too. Then we connected to the public CertStream feed and waited a full minute. Nothing came. Not a trickle, nothing. During that same minute, about 200,000 entries were written to the logs.

We had reason to be suspicious. The first version of our own rewritten reader had been missing two thirds of the stream without a single error. So we measured everything: how big the stream is, what the tools people run deliver, and what it takes to get all of it.

Where CertStream gets its data

Every certificate a browser will trust has to be written to public logs first. That’s Certificate Transparency. The logs are run by a handful of operators (Google, Let’s Encrypt, Cloudflare, Sectigo, DigiCert and a few others), and anyone can read them.

CertStream is not a log. It’s a program that reads all those logs in a loop and pushes what it finds to you over a websocket. What you receive depends entirely on how well that program keeps up with each log.

And the logs have changed. The older ones, which we’ll call classic, answer API calls: “give me entries 1,000 to 1,255”. The newer ones, called tiled, are plain files of 256 entries sitting behind a CDN. A reader written for classic logs can’t read tiled ones. It doesn’t crash. It just doesn’t see them.

To know how big the stream is, we asked every log in Chrome’s list for its size twice, twenty minutes apart. Together they added about 3,600 entries a second, a little over 310 million a day. Two thirds of that went to tiled logs.

Entries added per second, by log operator (3,606 in total) Let's Encrypt, tiled: 544 (15%). DigiCert, classic: 475 (13%). Google, tiled: 475 (13%). Sectigo, classic: 468 (13%). Sectigo, tiled: 397 (11%). Geomys, tiled: 290 (8%). IPng Networks, tiled: 282 (8%). TrustAsia, classic: 226 (6%). TrustAsia, tiled: 180 (5%). Microsec, tiled: 169 (5%). GoDaddy, tiled: 100 (3%). Tiled logs (Static CT API)Classic logs (RFC 6962) Let's Encrypt, tiled: 544 (15%)Let's Encrypt, tiled544 (15%) DigiCert, classic: 475 (13%)DigiCert, classic475 (13%) Google, tiled: 475 (13%)Google, tiled475 (13%) Sectigo, classic: 468 (13%)Sectigo, classic468 (13%) Sectigo, tiled: 397 (11%)Sectigo, tiled397 (11%) Geomys, tiled: 290 (8%)Geomys, tiled290 (8%) IPng Networks, tiled: 282 (8%)IPng Networks, tiled282 (8%) TrustAsia, classic: 226 (6%)TrustAsia, classic226 (6%) TrustAsia, tiled: 180 (5%)TrustAsia, tiled180 (5%) Microsec, tiled: 169 (5%)Microsec, tiled169 (5%) GoDaddy, tiled: 100 (3%)GoDaddy, tiled100 (3%)

That’s a floor. A few logs didn’t answer while we measured, and the rate moves with the hour and the day.

And an entry is not a certificate. A certificate is usually logged first before it’s signed, as a precertificate, and in more than one log. Many are logged again once they’re final, which is optional: in a twenty-minute sample of the stream, 47% of the entries were precertificates and 53% final certificates. So the same domain names come back again and again, which matters later.

What the tools deliver

We looked at what people actually use.

The public feed, certstream.calidog.io, gave us nothing in a minute, and CTI Academy saw the same thing in October. The open-source server from the same authors describes checking each log every ten seconds, and its README doesn’t mention tiled logs.

The other server you can host yourself is certstream-server-go. Its README says it handles 250 to 300 certificates a second, which would be less than a tenth of the stream. That seemed too bad to be true, so we ran it: latest release, default settings, two clients connected, for twenty minutes, while we measured the logs at the start and at the end.

It does much better than its README says. The logs added 3,439 entries a second and the server delivered 2,950 of them, or 86%. It did that with about 60 MB of memory and less than one CPU core, which is impressive for one small process.

And 86% is the best case. The server had dropped one more log at start, and we couldn’t measure that one either.

Log entries per second All listed logs together: 3,439. certstream-server-go 1.10.1, as shipped: 2,950. Classic logs only: 904. Public CertStream feed (one 60-second try): 0. All listed logs together: 3,439All listed logs together3,439 certstream-server-go 1.10.1, as shipped: 2,950certstream-server-go 1.10.1, as shipped2,950 Classic logs only: 904Classic logs only904 Public CertStream feed (one 60-second try): 0Public CertStream feed (one 60-second try)0

Now look at where the missing part went: not a few certificates here and there, but entire logs.

When the server started, seven logs didn’t answer its very first request properly. Six replied “too many requests” and one timed out. The server gave up on those seven and didn’t try them again while we watched. Four of them were receiving certificates. An eighth log went the same way twenty minutes in. And one slow classic log was read at 4% of the rate it was growing, with no error at all.

Share of each log’s new entries that certstream-server-go delivered HARICA Selene2027h1 (dropped at start): 0% of 226,155 new entries. TrustAsia Luoshu2027 (dropped midway): 63% of 218,139 new entries. TrustAsia HETU2027 (too slow, no error): 4% of 191,657 new entries. GoDaddy Aquamarine ×2 (dropped at start): 0% of 108,584 new entries. The 79 other logs: 100% of 3,534,501 new entries. HARICA Selene2027h1 (dropped at start): 0% of 226,155 new entriesHARICA Selene2027h1 (dropped at start)0% TrustAsia Luoshu2027 (dropped midway): 63% of 218,139 new entriesTrustAsia Luoshu2027 (dropped midway)63% TrustAsia HETU2027 (too slow, no error): 4% of 191,657 new entriesTrustAsia HETU2027 (too slow, no error)4% GoDaddy Aquamarine ×2 (dropped at start): 0% of 108,584 new entriesGoDaddy Aquamarine ×2 (dropped at start)0% The 79 other logs: 100% of 3,534,501 new entriesThe 79 other logs100%

From the client’s side, none of this shows. Certificates kept arriving at almost 3,000 a second, which looks perfectly healthy. By default, the only trace was one line per abandoned log in the server’s output.

Start it again and it may lose other logs, or none. You can’t know without checking.

Two more things. By its changelog, certstream-server-go has only read tiled logs since version 1.9.0, from April 2026. During our run, tiled logs carried about three quarters of the entries we could measure, so an older install is blind to most of the stream. And classic logs are on their way out: Let’s Encrypt no longer runs any, and Chrome’s log policy says a new log applying from January 2027 has to be tiled.

There’s also Cert Spotter, which reads both kinds of logs and even checks that a log never rewrites what it already published.

We got it wrong too

Our own reader isn’t CertStream. It’s what feeds certificate names into Profundis, and it’s a full rewrite of the one we ran before. Its first version was processing 1,400 to 1,500 entries a second. The logs were adding about 4,300. We were getting a third.

Nothing looked wrong. No errors, no crashes, and plenty of names coming out the other end. We only noticed when we put two numbers side by side for each log: where our reader was, and how big the log said it was.

The next two sections are about two of the things we’ve changed since: how the reader paces itself with each operator, and the machine that remembers which names we’ve already seen. It now reads about 4,000 entries a second. It stays about a minute behind the logs most of the time, and a few minutes right after one of Cloudflare’s hourly steps.

Every operator has its own rules

You can’t just open more connections and read faster. Each operator limits you in its own way, and you mostly find the limit by hitting it.

Tiled logs are the easy ones. They’re files behind a cache. Out of 2.9 million requests, they didn’t refuse us once.

Classic logs are another matter. A few examples from our counters:

  • Google’s classic logs gave us 26 entries per request on average, where the others give around 200.
  • One of TrustAsia’s logs took more than seven seconds on average to answer a request. Its twin refused one request in 95.
  • Cloudflare answered “429, come back in 60 seconds” once we went past nine or ten requests a second.
Entries per second of request time, by log host Google, tiled: 987 (0.27 s per request on average). Cloudflare, classic: 573 (0.41 s per request on average). Let’s Encrypt, tiled: 453 (0.43 s per request on average). Sectigo, classic: 267 (0.90 s per request on average). DigiCert, classic: 102 (1.94 s per request on average). Google, classic: 97 (0.27 s per request on average). TrustAsia 2026 a, classic: 56 (3.11 s per request on average). TrustAsia 2026 b, classic: 23 (7.64 s per request on average). Tiled logs (Static CT API)Classic logs (RFC 6962) Google, tiled: 987 (0.27 s per request on average)Google, tiled987 Cloudflare, classic: 573 (0.41 s per request on average)Cloudflare, classic573 Let’s Encrypt, tiled: 453 (0.43 s per request on average)Let’s Encrypt, tiled453 Sectigo, classic: 267 (0.90 s per request on average)Sectigo, classic267 DigiCert, classic: 102 (1.94 s per request on average)DigiCert, classic102 Google, classic: 97 (0.27 s per request on average)Google, classic97 TrustAsia 2026 a, classic: 56 (3.11 s per request on average)TrustAsia 2026 a, classic56 TrustAsia 2026 b, classic: 23 (7.64 s per request on average)TrustAsia 2026 b, classic23

CertKit ran into the same wall: above two parallel threads, classic logs throttled them.

What worked for us was to stop choosing a number of threads. The reader learns each operator’s pace from its refusals: it slows down when it’s told to, and tries a little faster later. It also puts a contact address in its User-Agent, so an operator who has a problem with us can write instead of blocking us. On our last count, that’s 5.46 million requests for about a thousand refusals, one in five thousand.

Most of what you read, you already have

This is the number that surprised us most. Out of 1,000 new log entries, only 71 names are worth a DNS lookup.

Those 1,000 entries carry about 1,650 names. Nearly a third of them are wildcards, or the same name repeated within seconds, since each certificate lands in several logs. Most of the rest we had already seen or resolved in the last few days, because certificates get renewed all the time. What’s left is 71.

So “we get millions of names a day from CertStream” doesn’t tell you much. What counts is how many are new, and to know that, you have to remember what you’ve already seen. That memory is the expensive part.

We keep it in two layers: a small cache of the names seen in the last few days, and a big “already seen” filter behind it.

The filter is a Bloom filter. Think of it as a very compact checklist. You ask “have I seen this name?” and it answers “no” or “probably yes”, using a few bits per name instead of storing the name.

Names per 1,000 log entries, and where they go Names on 1,000 new entries: 1,646. Wildcards, or repeated in the same batch: 508. Seen in the last two days: 974. Resolved in the last three days: 92. Sent to DNS: 71. Names on 1,000 old entries: 1,683. Wildcards, or repeated in the same batch: 478. Already in the filter: 491. Already in our database: 494. Sent to DNS: 209. Names on 1,000 new entries: 1,646Names on 1,000 new entries1,646 Wildcards, or repeated in the same batch: 508Wildcards, or repeated in the same batch508 Seen in the last two days: 974Seen in the last two days974 Resolved in the last three days: 92Resolved in the last three days92 Sent to DNS: 71Sent to DNS71 Names on 1,000 old entries: 1,683Names on 1,000 old entries1,683 Wildcards, or repeated in the same batch: 478Wildcards, or repeated in the same batch478 Already in the filter: 491Already in the filter491 Already in our database: 494Already in our database494 Sent to DNS: 209Sent to DNS209

Old entries, the ones logged before we started reading, let more through: 209 names per 1,000, and fewer as we go.

One thing to know before you size it: that filter has to fit in memory. Every lookup lands on a random spot in it, so the day it doesn’t fit, every lookup becomes a disk read. It happened to us. The disk was saturated while the CPU sat idle, and checking one batch of names took around 15 seconds instead of under two.

What it takes

The reading itself needs very little. One process and less than one CPU core keep up with the whole stream.

What you pay for is the memory of what you’ve already seen, and bandwidth. Downloading the entries comes to more than 800 GB a day.

Then every new name has to be resolved. How we do that is in another article.

And the history?

The live stream is only the newest part. Behind it sits everything the logs received before we started reading them, most of it recent.

We read every log that answers fast enough within about three months, and we let the slow ones take the time they need. The two biggest parts, Google’s archive and Cloudflare, both fit: around seventy days at the speed we get from them. The history pass stops where the live reader started, so we never read the same entry twice.

The slow ones are two of TrustAsia’s logs, which would take about a year at their pace. We don’t push them. In a sample of 52 final certificates taken from those two logs, all 52 were also in a log we already read.

The pile is also growing fast. In a sample of old entries, 72% were from 2025 or 2026. Certificate lifetimes will drop to 47 days by March 2029, and Cloudflare writes that shorter lifetimes could mean 16 to 20 times the entries.

That’s it for today.

Cheers, Sicarius from the Profundis Team