r/programming • • Nov 24 '16

Let's Encrypt Everything

https://blog.codinghorror.com/lets-encrypt-everything/
3.5k Upvotes

508 comments sorted by

View all comments

11

u/tambry Nov 24 '16

Yet Let's Encrypt doesn't provide wildcards nor verification through DNS records.

53

u/lbft Nov 24 '16

Yet Let's Encrypt doesn't provide ... verification through DNS records.

As of January 2016, Let's Encrypt supports DNS challenges.

12

u/justjanne Nov 24 '16

That's a dynamic DNS challenge, but it doesn't support static DNS auth.

(Where you put a public RSA key in the DNS, sign the certificate request with the private key, send that to LE, and they verify).

The challenges all still require changing your setup during the requesting, which makes it not ideal.

2

u/kyz Nov 25 '16

The challenges all still require changing your setup during the requesting, which makes it not ideal.

Actually, this is what makes it ideal. You have to prove you control a resource, at the time you want a new certificate issued for it.

DNS is not secure. Anyone with the right network access (anywhere between LE and your DNS nameservers) can spoof the response if they know when LE will be making a request to regarding your domain, and of course they'll put their own certificate on that response. Then they'll just ask LE to issue them a certificate and get one, without you even knowing. Game over.

To be secure, LE has to generate a unpredictable nonce, and communicate that to you in secret. Only then can you truly prove to LE that you control the domain you want a certificate for.

What you're thinking about -- putting security tokens in DNS -- is DANE, which is a replacement of the CA trust system altogether, but DANE requires a new anchor of trust, which is DNSSEC.

→ More replies (3)
→ More replies (1)

4

u/ryosen Nov 24 '16

They also require port 80 which isn't always an option and do not issue organization certs. Are they only good for the use of individual persons and hobby websites? If you are using this in commerce/business for an actual company, how did you approach this?

1

u/tambry Nov 24 '16

You probably can use them fine on bigger sites, as long as you don't mind the constant re-verification and there being no wildcards.

Do note that I have yet to use Let's Encrypt, but I'm very slowly working towards building some awesome websites and stuff, so I'll be able to see in a couple years how they fit for my purpose.

→ More replies (8)

0

u/[deleted] Nov 24 '16

[deleted]

0

u/[deleted] Nov 24 '16

[deleted]

7

u/jmtd Nov 24 '16

The people you tell that to either cave and buy the wildcard certificates (like me), or they stick with HTTP anyway. And the latter doesn't just hurt them, it hurts all of us.

Well, some third group of people just use LE for all of their subdomains and cope with it.

3

u/CraigTorso Nov 24 '16

I wrote a shell script for a cron job that tries to get renewed certs for all my sub-domains every morning

It took me all of 4 minutes to write.

In the grand scheme of efforts involved in keeping a site up and the server healthy it's not exactly hugely costly

3

u/emilvikstrom Nov 24 '16

That doesn't have anything to do with wildcard SSL.

→ More replies (2)

3

u/salgat Nov 24 '16

Obviously it isn't a use case, that's why he is criticizing it!

→ More replies (3)