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

Cannot change the renewal interval #290

Open
haagtobias opened this issue Jul 12, 2023 · 0 comments
Open

Cannot change the renewal interval #290

haagtobias opened this issue Jul 12, 2023 · 0 comments

Comments

@haagtobias
Copy link

In our company we have a requirement to renew certificates 40 days before they expire. Currently this cannot be configured in resty-auto-ssl. There should be an option to configure this.
As a workaround I had to do two things

  • Change the following line in renewal.lua by replacing the 30 with 40 if now + (30 * 24 * 60 * 60) < cert["expiry"] then
  • Set RENEW_DAYS="40", because otherwise dehydrated will do nothing

It would be great if we had an option to configure the number of days. The same value could/should be used for the lua code and the dehydrated parameter.

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

No branches or pull requests

1 participant