Re:Who Owns, Operates, and Develops Your VPN Matters
by raquuk on Wednesday September 03, 2025 @03:43PM
(#45119687)
I don't think a malicous DNS Server can redirect your request to a domain that does not result in a certificate warning when using HTTPS.
With browsers adopting DoH, a public WiFi should not be able to interfere with DNS much.
Re:Who Owns, Operates, and Develops Your VPN Matters
by hiatus on Wednesday September 03, 2025 @03:17PM
(#45119475)
HSTS solves this to some extent. If you've visited the domain in the past (or the site operator submitted to the HSTS preload list), a different certificate presented would be flagged by your browser.
Re:Who Owns, Operates, and Develops Your VPN Matters
by mr_mitm on Wednesday September 03, 2025 @04:15PM
(#45119932)
Not a different certificate, but one signed by an untrusted authority. HSTS won't let you bypass it.
There used to be a Firefox addon that could warn you if the actual certificate changed, but it died with manifest addons.
Re:Who Owns, Operates, and Develops Your VPN Matters
by arielcostas on Wednesday September 03, 2025 @05:29PM
(#45120607)
It isn't too useful nowadays, is it? With most websites' certificates being from Let's Encrypt or similar CAs automated via ACME and up to 90-day certs; and this getting reduced in the future to only 47 days. Every month you'd need to accept any website's new certificate.
Also, does HSTS have something to do with the authority? AFAIK it only forces the browser to use HTTPS and never plain HTTP for that domain, but if you switch from a legit Let's Encrypt to a legit ZeroSSL cert, HSTS won't care about it; only the browser if you have a not-trusted certificate from another CA (or self-signed).
Re:Who Owns, Operates, and Develops Your VPN Matters
by michaelt on Wednesday September 03, 2025 @03:48PM
(#45119736)
Your better websites use "HSTS Preloading" to ensure users always get sent to the https version of the site - in which case even if the attacker redirected the DNS resolution, you'd just get an SSL error as the attacker wouldn't have a valid certificate.
Of course, an astonishing number of (even important, high-profile) websites don't bother with HSTS preloading ¯\_(ツ)_/¯
Sometimes circumstances force one to connect to a public WiFi (e.g. airports, where WiFi is always super dodgy).