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

Adding new alternate domain name does not cause renewal #1155

Closed
ryantm opened this issue May 12, 2020 · 1 comment
Closed

Adding new alternate domain name does not cause renewal #1155

ryantm opened this issue May 12, 2020 · 1 comment
Labels

Comments

@ryantm
Copy link

ryantm commented May 12, 2020

Hi.

I'm using lego version 3.3.0, and I issued a certificate for domain "example.com" (with --days 60) but then I added "www.example.com" as an alternative name on the certificate (by passing it as -d "www.example.com") and I see:

[example.com] The certificate expires in 89 days, the number of days defined to perform the renewal is 60: no renewal.

Instead of skipping renewal, I expected lego to redo the certificate because the alternate name got added.

Is this the expected behavior or something that should be fixed?

Has this been fixed in a version after 3.3.0? I checked the changelog and didn't see anything that sounded relevant.

Ryan

@ldez ldez added the question label May 12, 2020
@ldez
Copy link
Member

ldez commented May 12, 2020

Hello,

It's expected as a renew command: the renew is based on the number of days.

If you add another domain it will be managed like a simple renew of the main domain: based on the number of days of the main domain.

Adding another domain is not a renewal but the creation of a new certificate.
In this case is better to call the run command.

Related to #693, #290, #216, #221

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

No branches or pull requests

2 participants