Hacker News new | ask | show | jobs
by 0l 674 days ago
Use HSTS, browsers are specifically designed not to let users bypass these.
1 comments

Hsts forces encryption, it has no impact on certificate invalidity, at least to my knowledge.
Visit your .internal site -> website uses TLS cert signed by root CA that is preloaded on your device. Succeeds and HSTS flag is set.

Visit other .internal site -> uses TLS cert NOT signed by root CA that is preloaded on your device -> certificate error, and cannot be bypassed due to HSTS.