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

feat: add --overwrite-domains flag to renew #2355

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

m1cr0man
Copy link

Closes #1532

When changing the --domains values, the certificate will not be refreshed to update the SANs appropriately.

This change introduces a simple flag to check + enforce that the domains specified match exactly those in the certificate during renewal.

I couldn't see a straightforward way to contribute a unit test for this, but I performed a full integration test using the NixOS ACME integration test suite. You can run that test locally with this command:

nix run github:m1cr0man/nixpkgs/lego-domain-testing#nixosTests.acme

Closes go-acme#1532

When changing the --domains values, the certificate will not be
refreshed to update the SANs appropriately.

This change introduces a simple flag to check + enforce that
the domains specified match exactly those in the certififcate during
renewal.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Renew only specified domains
2 participants