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.
11
u/tambry Nov 24 '16
Yet Let's Encrypt doesn't provide wildcards nor verification through DNS records.