↑ ↓ select, Enter open, Esc close

Test the renewal of all Let's Encrypt certificates (certbot)

root@server
certbot renew --dry-run

Runs a complete renewal against the Let’s Encrypt staging server for every certificate managed by certbot, but saves nothing. This shows in advance whether domain validation works or fails because of a redirect, a firewall or changed DNS, for example. At the end there is a summary with success or failure per certificate.

Note: Configured hooks (--pre-hook and --post-hook) also run during the dry run, such as briefly stopping the web server. Not applicable to Plesk, which manages Let’s Encrypt through its own extension.

Also searched as

  • certbot renew dry run
  • test let's encrypt auto renewal
  • let's encrypt renewal not working
  • check certbot automatic renewal

Read first, then run.

The commands on myline.de act directly on servers, files and databases. A wrong path or placeholder can delete data irreversibly or make a server unreachable.

  • All commands are provided without warranty and are not tested on every system.
  • Understand what a command does before running it, and check every placeholder.
  • Make a backup first and, if possible, try it on a test system.
  • You run commands at your own risk. Liability for damages is excluded to the extent permitted by law.