Re:WordPress.com turns on HTTPS encryption for all websites
by XMPPwocky on Friday April 08, 2016 @07:33PM
(#11458984)
But then, if I'm MITMing you, I can just silently keep you on www, without SSL, without caring about HSTS or anything.
Re:WordPress.com turns on HTTPS encryption for all websites
by iancarroll on Friday April 08, 2016 @08:01PM
(#11459100)
If WordPress enables (preloaded) HSTS, that would not matter.
The same humans who incorrectly add "www." when not told to are also unlikely to add "https://". So have the www. version redirect to the correct URL with HTTPS.
For that matter, since certificates with Let's Encrypt support arbitrarily many SubjectAltName (SAN) values, you can include the www variant in the certificate, so that your redirect can use HTTPS and HSTS.