I am writing a DNS-Update script that should be called from certbot and therefor have to do some testing. It seems that after a valid request of a cert I can renew this without a new DNS validation. Even deleting the cert doesn’t start a new DNS validation. I have tried --force-renew and are always using --test-cert, but with no success.
What will I have to do to start over and force a new DNS validation?
If you use a recent version of Certbot, --dry-run will automatically deactivate any existing valid authorisations, ensuring that a fresh challenge is performed every time.
Using certbot-auto might be a good choice to test with, since it’s always up to date.
I am already using the --dry-run param, certbot then tells me that renewal is simulated, but no DNS validation is executed. certbot immediately exits after the renewal.
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator manual, Installer None
Cert not due for renewal, but simulating renewal for dry run
Renewing an existing certificate