Interview Prep/Networking/HTTP, TLS & Certificates

What is HSTS and what are its risks?

IntermediateConceptHTTP, TLS & Certificates
Answer

Strict-Transport-Security: max-age=31536000; includeSubDomains; preload tells browsers to use HTTPS only for the domain for the stated period. It defeats SSL-stripping downgrade attacks.

The risk is lock-in: if your certificate breaks or a subdomain does not support HTTPS, users cannot click through. Roll out with a short max-age first and only preload when every subdomain is ready.

All Networking questions Roadmap: Networking for DevOps

More on HTTP, TLS & Certificates