Renew_before_expiry : cli.ini

Hello, how can I set renew_before_expiry for all my conf files? I have almost 100 conf files. I tried put it into /etc/letsencrypt/cli.ini but I am not sure about setting.
I tried
renew_before_expiry = x Days
renew_before_expiry=x Days
renew_before_expiry=“x Days”
renew-before-expiry = x Days
renew-before-expiry=x Days
renew-before-expiry=“x Days”

Is there any other settings?

I don’t think there is actually a way to control this globally. There is an open PR for it, which is a pretty good sign that doesn’t exist yet.

You might have to just sed yourself there instead:

sed -i 's/renew_before_expiry = .*/renew_before_expiry = 1 week/' /etc/letsencrypt/renewal/*.conf

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.