by sholladay · 3y ago · 0 comments
Get a free certificate from Let’s Encrypt, set up redirects, and then add the Strict-Transport-Security header to further secure the site and reduce network traffic from the redirects.
Your only new external dependency there is Let’s Encrypt, which is run by a non-profit. And if you’re ever unhappy with them, you can always switch to another provider and most people won’t even notice.
If you want to be inclusive of old clients that may not be able to do modern TLS, you can serve the same content on http and https, but reference your favicon on https and serve a STS header with it. Clients that understand STS, will internally redirect to https, clients that do, but can't reach your https for whatever reason, will be able to continue with HTTP.
If we had some alternate addressing schemes in the browser that could do trust, I'd be much happier. Like, can dat protocol be a secure origin? Or like, if the goal really is just to secure users, maybe we need to let opportunistic encryption be something users can opt in as secure (even though it can be mitm'ed at the start).
Let's Encrypt has changed the game. It's great that https has so very very suddenly gone from frustrating & business class only to something even the casuals can easily do. But still, I'd love some less centralized systems for trust to be available, some visible known alternative paths demonstrating that there are diverse options at these lower transport/security layers of the network stack.
Yes it does: https://blog.cpanel.com/how-to-configure-and-manage-lets-enc...
Chances are that the answer to all those questions is “no, the Western-run Let’s Encrypt will not be ok with all that” and if it were for the push to come to the shove (or whatever the expression is) they’ll be more than glad to invalidate that certificate (or worse, to compromise it without letting you know).
Granted, the same thing will most probably happen with one’s DNS provider and with his/her ISP, but why have another dependency if one can avoid it?
That said, I agree with you that there is some level of risk here, even if it is small. That’s why your ability to switch is so important. Even if they became aware of you and they decided to revoke your certificate, you would just switch providers. Because of that, they have no meaningful power over you. If it ever becomes difficult to switch, then things are getting bad.
> or worse, to compromise it without letting you know
What does that mean? The certificate either passes validation or it doesn’t. They aren’t able to change the content on your site or anything like that.
They could say that your certificate passes validation while, in fact, said security has been already tampered with on your side, giving your website's visitors a sense of false security.
This isn't how the Web PKI works. In order to tamper with your site's traffic, Let's Encrypt (or another CA) would need to issue another certificate for your site with a key that they (rather than you) control. This would be detected via CT[1], which your browser (unless it's Firefox) is already using.
And note: by design, any CA in the trusted set can already do this, regardless of whether you use them or not. The things that are stopping them are that it's (1) not in their interest to do so, (2) it's detectable due to CT, and (3) would result in their root being hell-banned by the browsers.
A full explanation is available on LE's forum[1].
[1]: https://community.letsencrypt.org/t/according-to-mcclatchydc...