-
Notifications
You must be signed in to change notification settings - Fork 150
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 a new SubjectAlternativeName to a set doesn't cause a renew #57
Comments
Looks like this could be worked around by having '--expand' as a certbot parameter. |
The root cause is: https://github.com/saltstack-formulas/letsencrypt-formula/blob/master/letsencrypt/domains.sls#L44 If that would be expanded to checking the entire list the situation would be detected, and renewing always with --expand would allow the renew to do the correct thing. |
Specifying |
## [2.1.1](v2.1.0...v2.1.1) (2021-06-23) ### Bug Fixes * **domains:** check cert exists with desired domains ([a11fa8b](a11fa8b)), closes [#57](#57) * **domains:** update git check cert script ([2cbb50c](2cbb50c)) * **gentoo:** use correct `git` package name ([1054e0d](1054e0d)) * **osfinger:** provide correct package for `centos-7` & `oraclelinux-7` ([19998df](19998df)) ### Continuous Integration * **kitchen+gitlab:** remove Ubuntu 16.04 & Fedora 32 (EOL) [skip ci] ([8b5b4f4](8b5b4f4)) * add `arch-master` to matrix and update `.travis.yml` [skip ci] ([7ea4e63](7ea4e63)) * **commitlint:** ensure `upstream/master` uses main repo URL [skip ci] ([5def61c](5def61c)) * **gemfile+lock:** use `ssf` customised `kitchen-docker` repo [skip ci] ([8cc1a93](8cc1a93)) * **gitlab-ci:** add `rubocop` linter (with `allow_failure`) [skip ci] ([824c5c2](824c5c2)) * **gitlab-ci:** use GitLab CI as Travis CI replacement ([90d8a06](90d8a06)) * **kitchen+ci:** use latest pre-salted images (after CVE) [skip ci] ([e6c0d13](e6c0d13)) * **kitchen+gitlab:** adjust matrix to add `3003` [skip ci] ([493ab98](493ab98)) * **kitchen+gitlab-ci:** use latest pre-salted images [skip ci] ([ae1610b](ae1610b)) * **pre-commit:** update hook for `rubocop` [skip ci] ([a9cbb16](a9cbb16)) ### Documentation * **readme:** fix `coala` violations [skip ci] ([98c2898](98c2898)) * **readme:** stretch is now old-stable [skip ci] ([7f0bab5](7f0bab5)) ### Tests * standardise use of `share` suite & `_mapdata` state [skip ci] ([1105cb8](1105cb8))
🎉 This issue has been resolved in version 2.1.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
If I first have a domainset such as:
And have that applied and then later on amend the domainset to for example:
Applying the state won't trigger adding www2.example.com as an alternate name to the domainset's cert. The command visible in state apply output is correct and would cause the correct action, if it was actually executed:
.. but looks like it doesn't get executed. To me it seems because of this:
i.e. only the status of the CN is checked, which ignores the fact of having new alternative names.
The text was updated successfully, but these errors were encountered: