154 points · by homarp · 4y ago · 27 comments
I would also like to do a shoutout to software like Caddy Server which automatically provisions with TLS using Let’s Encrypt. Doing this removes another barrier to adoption.
I've worked on both Let's Encrypt and Caddy. Indeed, the goal with Caddy is to set the gold standard for other software to follow. I'd say Let's Encrypt does the heavy lifting in this space, though. It's truly a remarkable team and infrastructure.
After breaking the certificate racket, let's end the tech walled-garden monopolies.
If this is the case, if I would be the NSA I would strongly push for free cryptography, to make sure that only the US can decrypt the communications and have a strategic advantage.
If you use Let's Encrypt, you are likely using Certbot, which means that everybody uses a tool that a central authority strongly recommends to you.
I wonder how they generate the key, for example, it may be using secp256r1: https://github.com/certbot/certbot/blob/5c111d0bd1206d864d7c... (this seems to be the default?)
Some time ago, I remember seeing secp256r1 in some tech talks like here: https://www.johndcook.com/blog/2018/08/21/a-tale-of-two-elli...
"The “k” in sepc256k1 stands for Koblitz and the “r” in sepc256r1 stands for random. A Koblitz elliptic curve has some special properties that make it possible to implement the group operation more efficiently. It is believed that there is a small security trade-off, that more “randomly” selected parameters are more secure. However, some people suspect that the random coefficients may have been selected to provide a back door."
If a solution is plausible, and this solution can bring dozens of billions of USD in in direct economic value or protect populations, certainly the smart people would/should think about a way to do it (and this could even be the right thing to do).
I'm not saying that Let's Encrypt is backdoored; what I'm saying is that it's a juicy target and that one potential solution to this problem is to encourage decentralization.
TLS only addresses minor threats, it doesn't help against NSA/CIA/etc and their equivalent in other jurisdictions. corporate websites will give up your plaintexts, the cloud providers will give up your private keys hosted on their servers.
Given that all certs are limited to a year, we're only a few steps away from the Let's Encrypt setup being automated everywhere.
- Not allowed to change authoritative DNS
- CAA set to everything except LE
- cannot set CAA to LE
Wouldn't it be nice?
Registrars are contractually required to allow registrants to change the nameservers associated with their domain.
I personally use NameSilo over Cloudflare because I don't want to give Cloudflare everything.
[0] https://www.namesilo.com/domain/transfer-domains
[1] https://www.cloudflare.com/en-gb/products/registrar/
https://developers.cloudflare.com/registrar/get-started/tran...
https://community.letsencrypt.org/t/web-hosting-who-support-...
Yes, you can set it up manually, but you have to do it every 90 days as opposed to having it automatically updated in a supported hoster.
Just install caddy on a $5/mo VPS instead of using your domain registrar as a host. It will automatically renew LE certs. Your current setup is almost always a terrible idea.