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

Show parent comments

1

u/justjanne Nov 25 '16

Well, yes. A DNSSEC and DANE (or DNSSEC and static DNS verification) approach would be preferred, yes.

Then they'll just ask LE to issue them a certificate and get one, without you even knowing. Game over.

The same can be done today already with DNS auth by a state actor. Just intercept the communication between LE and the DNS server, and you get full control.

1

u/kyz Nov 25 '16

Just intercept the communication between LE and the DNS server

Hence why the need for a dynamic request, a secure TLS communication between LE and the requester, and the dynamic unguessable nonce to prove the requester has control of the domain despite insecure DNS.

I imagine the anti-state-actor protections on LE's end go further (multiple requests to DNS over multiple network paths not all controlled by the same entity, results transmitted back to the system answering the original request over a secure path), but the key ingredient is a using a dynamic, not static request. That's why "changing your setup during the requesting [...] not ideal" is itself not ideal.

2

u/justjanne Nov 25 '16

None of what you said creates any difference in safety.

The NSA can just run certbot on their own systems, and intercept all DNS packages to and from LE.

As a result, LE will auth it as valid.

The only thing dynamic DNS auth protects from is too long TTLs.

And that's exactly what I want: I want to be able to just issue a command and get a certificate immediately, without having to wait for the DNS to propagate to all servers, without having to disable anycast routing during that, without having to change what the server serves on different URLs, without having to deal with any of this.

Ideally, I'd want to just do OAuth with DENIC and LE, so LE knows I own the domain, and get a certificate, and the ability to automatically renew it as long as DENIC can verify the token.