News for hackers. Stuff that matters.
Re:Ask HN: How did internet discover my subdomain? by thedougd on Friday March 07, 2025 @12:23AM (#43287552)
Some CAs (Amazon) allow not publishing to the Certificate Transparency Log. But if you do this, browsers will block the connection by default. Chromium browsers have a policy option to skip this check for selected URLs. See: CertificateTransparencyEnforcementDisabledForURLs.

Some may find this more desirable than wildcard certificates and their drawbacks.

Re:Ask HN: How did internet discover my subdomain? by snailmailman on Friday March 07, 2025 @01:03AM (#43287677)
Firefox is currently rolling out the same thing. They will treat any non-publicly-logged certificate as insecure.

I’m surprised amazon offers the option to not log certificates. The whole idea is that every issued cert should get logged. That way, fraudulently-issued certs are either well documented in public logs- or at least not trusted by the browser.

Re:Ask HN: How did internet discover my subdomain? by fc417fc802 on Friday March 07, 2025 @03:16AM (#43288194)
It doesn't seem like the choice has any impact on that. It just protects user privacy if that's what they want to prioritize.

Depending on the issuer logging all certs would never work. You can't rely on the untrusted entity to out themselves for you.

The security comes from the browser querying the log and warning you if the entry is missing. In that sense declining to log a cert is similar to self signing one. The browser will warn and users will need to accept. As long as the vast majority of sites don't do that then we maintain a sort of herd immunity because the warnings are unexpected by the end user.

Re:Ask HN: How did internet discover my subdomain? by thedougd on Friday March 07, 2025 @08:09AM (#43289869)
I should have included in my post, this technique only makes sense in the context of private or internal endpoints.
Re:Ask HN: How did internet discover my subdomain? by navigate8310 on Friday March 07, 2025 @12:55AM (#43287653)
To avoid subdomain discovery, I usually acquire certificate domain level and add a wildcard SAN.
Re:Ask HN: How did internet discover my subdomain? by luv2code on Monday March 10, 2025 @10:28AM (#43321058)
Will you send me an invite to tildes?
Re:Ask HN: How did internet discover my subdomain? by klntsky on Friday March 07, 2025 @12:45AM (#43287622)
> Some may find this more desirable

Why?

Re:Ask HN: How did internet discover my subdomain? by thedougd on Friday March 07, 2025 @08:07AM (#43289854)
A CISA article on wildcard security risks. Some of this is in part from common misimplementations (e.g.reusing private keys across servers), but not all of it.

https://www.cisa.gov/news-events/alerts/2021/10/08/nsa-relea... Direct: https://media.defense.gov/2021/Oct/07/2002869955/-1/-1/0/CSI...