Browse Source
When using --valid-to with --days, the renewal time was incorrectly set to 1 day before certificate expiry instead of respecting the user's --days value. This fix ensures that: - Renewal is scheduled at 'issuance + days' as intended - Falls back to 1 day before expiry only if cert expires before renewal - Matches the behavior when --valid-to is not specified Example: With --valid-to '+47d' --days 42: - Before: Renewal at day 46 (1 day before expiry) - After: Renewal at day 42 (as specified)pull/6572/head
1 changed files with 27 additions and 12 deletions
Loading…
Reference in new issue