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.
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.
53
u/lbft Nov 24 '16
As of January 2016, Let's Encrypt supports DNS challenges.