-
Notifications
You must be signed in to change notification settings - Fork 38
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
Check if domain is whitelisted before cert renewal #35
Conversation
@kfigiela I composed a reply but forgot to sent... I think overall it looks good, probably instead of |
Sounds like a good suggestion, I'll refactor this. I'd like to keep semantics of |
Yeah that sounds good.
--
Regards
fffonion (B607 2745 84E8 D5E5 <https://yooooo.us/gpg.txt>)
|
Don't know why i missed this PR for a long time... anyway it's merged, thanks you for the contribution @kfigiela ! |
### Summary #### bug fixes - ***:** popup errors from lower functions [a19e9c8](fffonion/lua-resty-acme@a19e9c8) - **autossl:** pass storage config to acme client ([#43](fffonion/lua-resty-acme#43)) [ef1e541](fffonion/lua-resty-acme@ef1e541) #### features - **autossl:** add challenge_start_delay [df4ba0b](fffonion/lua-resty-acme@df4ba0b) - **autossl:** check if domain is whitelisted before cert renewal ([#35](fffonion/lua-resty-acme#35)) [942c007](fffonion/lua-resty-acme@942c007) - **client:** add challenge_start_callback [1c9b2d5](fffonion/lua-resty-acme@1c9b2d5) - **client:** allow to read "alternate" link and select preferred chain ([#42](fffonion/lua-resty-acme#42)) [ff17a74](fffonion/lua-resty-acme@ff17a74) - **storage/vault:** add support for kubernetes auth ([#37](fffonion/lua-resty-acme#37)) [93c2121](fffonion/lua-resty-acme@93c2121)
### Summary #### bug fixes - ***:** popup errors from lower functions [a19e9c8](fffonion/lua-resty-acme@a19e9c8) - **autossl:** pass storage config to acme client ([#43](fffonion/lua-resty-acme#43)) [ef1e541](fffonion/lua-resty-acme@ef1e541) #### features - **autossl:** add challenge_start_delay [df4ba0b](fffonion/lua-resty-acme@df4ba0b) - **autossl:** check if domain is whitelisted before cert renewal ([#35](fffonion/lua-resty-acme#35)) [942c007](fffonion/lua-resty-acme@942c007) - **client:** add challenge_start_callback [1c9b2d5](fffonion/lua-resty-acme@1c9b2d5) - **client:** allow to read "alternate" link and select preferred chain ([#42](fffonion/lua-resty-acme#42)) [ff17a74](fffonion/lua-resty-acme@ff17a74) - **storage/vault:** add support for kubernetes auth ([#37](fffonion/lua-resty-acme#37)) [93c2121](fffonion/lua-resty-acme@93c2121)
### Summary #### bug fixes - ***:** popup errors from lower functions [a19e9c8](fffonion/lua-resty-acme@a19e9c8) - **autossl:** pass storage config to acme client ([#43](fffonion/lua-resty-acme#43)) [ef1e541](fffonion/lua-resty-acme@ef1e541) #### features - **autossl:** add challenge_start_delay [df4ba0b](fffonion/lua-resty-acme@df4ba0b) - **autossl:** check if domain is whitelisted before cert renewal ([#35](fffonion/lua-resty-acme#35)) [942c007](fffonion/lua-resty-acme@942c007) - **client:** add challenge_start_callback [1c9b2d5](fffonion/lua-resty-acme@1c9b2d5) - **client:** allow to read "alternate" link and select preferred chain ([#42](fffonion/lua-resty-acme#42)) [ff17a74](fffonion/lua-resty-acme@ff17a74) - **storage/vault:** add support for kubernetes auth ([#37](fffonion/lua-resty-acme#37)) [93c2121](fffonion/lua-resty-acme@93c2121)
I'd like to prevent renewals on domains that are no longer whitelisted. To implement this I've extracted whitelist check to the separate function and use this in
update_cert
.Also, since I'm gonna use dynamic whitelist with some caching in the worker process, I'd like to bypass cache for lookups during renewal. I've added
source
argument todomain_whitelist_callback
function.@fffonion, do you have any thoughts on this?
This is somehow related to #15.