When a cert expires, is it still available to the public - or is it only active certs that are visible?
Also, that thread explained that all subdomains will sooner or later be added to the public certs registry, because Google’s crawlers will find them. But what about a wildcard cert, e.g. the subdomain in foobarbazqux.example.com is known only to the domain’s owner… Will those wildcard subdomains also somehow be logged?
All certificates are forever stored in the transparency log. They will exist there forever.
Certificates are submitted by the Certificate Authority to the log, Chrome doesn’t trust certificates that aren’t logged so all CAs submit them now. Thus even unknown, random subdomains will be logged.
NOTE: Not all CAs submit to all logs, I’m not an expert on the subject but I believe CAs only have to submit them to a few logs that are trusted by browsers. (2 or more?)
For instance the cert on this site is in the Let’s Encrypt Oak 20200 log and Google “Xenon2020” log
I misread your post. With the wildcard you are correct. you could have a subdomain asllkhasdf.example.com covered by a wildcard and it may never be discovered. Although I don’t suggest relying on security by obscurity.
No. The CT logs contain certificates, and wildcard certificates don’t contain your subdomains.* If you only use wildcard certificates, your subdomains would not appear in the CT logs.
The post in the other thread just meant that it was difficult to avoid your certificates getting logged, and it was talking about a situation where you were not using wildcards. (In 2016, many CAs did not automatically log their certificates, and browsers did not usually mandate CT use. The circumstances are a lot different today.)
It’s still hard to keep subdomains entirely secret, even without regard to TLS and certificates. Passive DNS databases are likely to pick them up, for example.
* Well, certificates can contain a mixture of wildcards and non-wildcards, if you choose to do that.
Of course the easiest leak possible is someone who uses the intranet (which is using a subdomain on a wildcard cert) accidentally pastes it in an email, which goes round the internet, and some scraper somewhere reads it and logs it.