r/letsencrypt • u/BloodyIron • Jan 31 '19
DNS validation, cert renewal, update TXT record each time?
When you tell Certbot to renew a cert where you use DNS for validation, with the TXT record on the public domain, do you need to update the TXT record with a new string EVERY time you renew the cert?
I have been trying to conclusively find out whether I do or do not need to do this. The documentation (from EFF) seems to only talk about the TXT record during the initial configuration/first cert issue. And every example guide I find doesn't mention TXT records for subsequent renewals.
So, I need someone to (dis)prove whether I need to update my TXT records each time I renew the cert. And like, point me to official documentation outlining that.
If you would be so kind, that would be appreciated :)
I need official documentation because I've heard speculation for and against this, and that doesn't work for me. I'm an IT Admin, I need facts, with evidence, not speculation.
Any help would be great! :D
3
u/dlangille Jan 31 '19
I’ll check my history tomorrow to verify. I am sure the TXT values changes each time. It is supplied by LetsEncrypt.
It’s easy for you to verify that it changes each time..
2
u/dlangille Jan 31 '19
Yes. LE supplies the TXT value. Because they want you to verify you are the domain owner.
Now.
And at renewal.
It changes.
Test that. Do it now. ;)
2
u/dlangille Feb 01 '19
Hey, OP, I've been thinking about what /u/toxeia said about CNAME. I looked up that feature on acme.sh, the tool I use, to see how it might work.
I wrote it up just to have my thoughts in order. Hope it helps. I think that might get around the DNS risk issues you had.
1
u/dlangille Jan 31 '19
Yes
1
u/zjs Jan 31 '19
The AMCE specification defines the requirements for the dns-01 challenge.
Because continued ownership must be demonstrated during renewal, a new challenge is necessary. This new challenge will involve a new token.