Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow expanding certificates #507

Open
dchenk opened this issue Mar 21, 2018 · 1 comment
Open

Allow expanding certificates #507

dchenk opened this issue Mar 21, 2018 · 1 comment

Comments

@dchenk
Copy link

dchenk commented Mar 21, 2018

Certbot has an --expand option that lets you add domains to a certificate: https://certbot.eff.org/docs/using.html#re-creating-and-updating-existing-certificates

Is there any chance we could implement such a feature for lego? The advantage with simply expanding a certificate's list of domains is that you don't then get emails notifying you that your (old) certificate is about to expire when you're not using it anymore after creating a new cert with another list of domains. (Or am I wrong, does the old cert expire as usual?)

@xenolf
Copy link
Member

xenolf commented Apr 19, 2018

Hello!

There is no such thing as expanding a certificate really. Once a certificate is issued it will remain the same forever. What the --expand option probably does is that it reads the domains from the certificate and generates a new one based on the domains it found plus any additional ones you provided.

I'm not opposed to adding such functionality to the CLI as I can see the benefit of it. Happy to accept a PR for it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants