I want to create my own script to update my DNS, to renew wildcard certificates, for several reasons.
I got everything working. But I’m stuck here: I want to run some command that will will return the token, so, I’ll grab this token, update my DNS and then run certbot to check the token and renew.
- run something to get the token for domain foo.bar (*.foo.bar)
- run my script that will update Bind zone file and reload the zone
- run certbot, since the new token is ready to be read on my DNS
I miss something or this is not possible?
Any ideias? Thanks.