If I run certbot renew --dry-run
and make no further changes to my Nginx configuration, am I guaranteed that certbot renew
will succeed 90 days later? In other words, can the result be a false positive?
If so, should I rather run certbot renew --force-renewal
for a thorough test?
Surely you can use a
--force-renewal
if it satisfies you. But you can not run it everyday. The--dry-run
option is for that very reason of testing there.See here: https://certbot.eff.org/docs/using.html#certbot-command-line-options:
This option is to test your configuration and to make sure everything is configured correctly but it has some side-effects.
For the renewal, you can safely use the
renew
option regularly via cron:This will run the renewal process regularly but will only renew certificates when it is necessary or about to expire.
The
--force-renewal
is not the right option to update certificate automatically rather meant for manual update:As for the guarantee, it's a free and open source software and nobody is going to gurantee you anything I suppose. So use it at your own risk.