Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
--expand not properly documented. #3664
From the docs:
Existing certificate has:
Note that there are 2 differences between these commands:
The issue is that 2 should not be a problem according to docs. Even more so, expanding should always expand if any certificate exists. "If an existing certificate covers some subset of the requested names...", the empty subset is always covered and requested. Also what if an existing certificate covers a superset of the requested names ("covers" to me suggests that would be fine)? It should then expand and add the newly requested domains.
Yes you can use
In this case, Certbot would create a new directory in
Looking at the doc, I see the following for --expand:
Should I add the following: "With the
I'm looking at the docs, and it seems like you can use -d with a comma-delimited list of domains. Is this true? I'd like to put an example in the docs, because I think the behavior is confusing. Which of the following, if any, is correct?
certbot -renew --expand -d existing.com,example.com,newdomain.com
certbot -renew --expand -d existing.com -d example.com -d newdomain.com
certbot --expand -d existing.com,example.com,newdomain.com
certbot --expand -d existing.com -d example.com -d newdomain.com
If you run either of these commands, you get:
These commands are equivalent though.
- adding what.rst to index.rst - Bigger link to instruction generator in intro.rst, some edits to what.rst in response to comments on What is a Certificate? section first draft #4370 - Responding to St_Ranger's comment on 4370 - Edits to using.rst related to --expand - Initial edit pass through challenges.rst - Edits to what.rst and challenges.rst to resolve #3664 and #4153 - Incorpoprating feedback from #4370 - Finally going after those last few comments before the restructuring of the plugin stuff (coming soon) - Fixing --expand example in using.rst and adding to Apache/NGINX bullet in challenges.rst