If instead of a password field it's a text field with a custom font, no such warning will be presented.
[1] https://blog.mozilla.org/security/2017/01/20/communicating-t... http://http-password.badssl.com/
"Ah, okay, it's not so secure, whatever that means... but I still want to login and do what I set out to do."
Do you see any warnings in your browser? I see no warnings in Chrome.
Maybe you have a browser extension, or setting turned on that I'm missing?
This happens regardless of extension (i.e. in an incognito window).
While major websites already were on SSL, a lot of websites didn't and there were no browser warnings yet.
The only defense is HSTS/certificate-pinning, for sites previously visited with that browser & device (it’s a TOFU security model).
HN has HSTS, but not Reddit, or my credit union, or my local pizza place, or Kaiser Permanente, etc. etc. etc.
EDIT: I believe e.g. Chrome and Firefox bake in some major certificates, which would also likely flag MITM attacks, for those sites.
EDIT II: Someone responded below (since deleted) that you’d also need that cert to be signed by a CA your browser trusts, which is true. My explanation is faulty/poor. Better informed discussion of attacks further down the thread!
Most browsers stopped even looking at CN or only do so for people's crappy home grown private CAs
Anyway, what makes certs trustworthy isn't the CN, it's a chain of two or more digital signatures leading to a trusted root. And the CN in that root, while it had to be truthful when written, may be twenty years old, so it's nonsense now.
But I wasn't talking about leaf certificates, I expressly mentioned this for the CN in _root_ certificates and it's pretty common for those to have a lifetime of ten, fifteen even twenty five years.
Here's an easy to remember example, https://crt.sh/?id=1 the first entry in the crt.sh database.
The Common Name on that certificate is "AddTrust External CA Root". So... who are AddTrust? I actually have no idea. This root is today controlled by Comodo, a CA in the United Kingdom but you'd never guess that from the certificate.
If you're dumb enough to install one of these boxes on your network, you might also be dumb enough to install an attacker-provided root certificate on your PC.
Is it to circumvent antivirus?