-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Is allow_domain used/needed for renewal? #101
Comments
As far as I can see, Just delete the domain keys from Redis, it will not renew. |
We'd be interested in having lua-resty-auto-ssl call |
@gohai that sounds like a nice addition! :) |
@gohai I found this fork: https://github.com/ryokdy/lua-resty-auto-ssl which deletes expired certificates fromm storage. I forked it myself to https://github.com/simplesite/lua-resty-auto-ssl and changed it to use the normal |
@brianlund Thank you! |
I submitted a PR that does something to the same effect, yet without invoking The reason the plain |
As I understand it, a renewal is basically a new certificate request with the same subject.
We have domains that leave us over time, so I am wondering if renewal uses the allow_domain function to ensure it only tries to renew domains that are still valid and won't result in a failed attempt counting towards the let's encrypt limits or if it's not needed.
Edit: from reading the renewal code, I see it's not called before a renewal. There must be others that have domains that are no longer valid for certificate issuance at renewal time, how do you handle this?
The text was updated successfully, but these errors were encountered: