Skip to content

Cannot change the renewal interval #290

@haagtobias

Description

@haagtobias

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions