[Feature Request]: Add warning in help message that `--dry-run` defaults to Let's Encrypt

Open
#10,446 1 comment 1 reaction 1 assignee View on GitHub

Maintainers usually reply within 1 day

@bmw is already working on this.

Since Aug 28, 2025.

Assessment

This issue has not been assessed yet.

Description

What problem does this feature solve or what does it enhance?

I was reviewing certbot -h to discover if there's a way to force certbot to renew a certificate immediately, and saw --dry-run
I ran certbot renew --dry-run expecting certbot to attempt a dry-run against the server I had configured when running certbot certonly only to discover that it attempts to communicate with letsencrypt.
Luckily that was blocked due to network config.

I did eventually find the note in https://eff-certbot.readthedocs.io/en/latest/using.html#changing-the-acme-server but I would expect something that important to be in the help.

Proposed Solution

Add text to the help section for --dry-run to clarify that you must provide --server if you want it to use a custom server.

Alternatives Considered

No response

Dominant language
Python
Stars
33.4k
Forks
3.5k
Avg merge
4d 2h
Merged PRs (30d)
11

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from certbot/certbot

All issues in certbot/certbot

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.