ACME and certificate operations

Certbot renew command

Checks managed certificates for renewal eligibility. Dry-run normally uses staging, does not install its test certificate, and may execute configured hooks. Not a guarantee of public deployment. Deploy hooks are skipped in dry-run unless explicitly opted in; pre/post hooks and temporary webserver changes may still occur.

Formal Syntax & Structure

nginx syntaxnginx
certbot renew [--cert-name NAME] [--dry-run] [--run-deploy-hooks]

Parameters & Attributes

NameTypeDescription
cert_name--cert-name NAMERestrict renewal processing to an existing Certbot lineage; name need not equal a DNS name.
dry_run--dry-runAttempt test renewal, normally against staging; does not install test certificate. Pre/post hooks and temporary server changes are possible.
run_deploy_hooks--run-deploy-hooksOpt into deploy hooks during successful dry-run; uses active certificate, not test certificate. Review hooks first.

Working Example

Example Snippetnginx
certbot renew --cert-name example.com --dry-run
Nginx Reference