Skip to content

Consider to use openssl -enddate to determine certificate renewal #3413

@rzech

Description

@rzech

The default renew delay used by acme.sh is 60 days. This makes absolutely sense for 90-day certificates issued by LE. But amce.sh also supports other RFC-8555 compliant CAs. For eg. Sectigo issues 1-year certificates through ACME. In this case I think 60 days is not really appropriate. I know that one can set the delay (Le_RenewalDays) in each domain-conf but my idea would be to use openssl -enddate to determine the expiration date of a successful issued certificate and then substract the amount of days the certificate should be renewed earlier (eg. expiredate - 30 days).

I already run my own bash script as --post-hook to achieve this (I can provide the code if needed), but I think it could be a nice feature to have acme.sh support this out of the box...

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