Is the Certbot setting (‘renew_before_expiry’: ‘30 days’) hardcoded? Or in other words: If I want to change the setting (eg. ‘renew_before_expiry’: ‘146 days’), I have to recompile the source code. Right?
Thanks for the clarification. I have looked into the docs and have it tried out. There is no CLI option “–renew-before-expiry” or “–renew_before_expiry”. The parameter has to be uncommented and manually set in the renewal configuration file:
sudo cat /etc/letsencrypt/renewal/freizeitkarte-osm.de.conf # renew_before_expiry = 30 days version = 0.26.1 archive_dir = /etc/letsencrypt/archive/freizeitkarte-osm.de …
Hmm, peculiar … has nobody (except me) the requirement to set this value during issuing or renewal?
I’m the person who originally implemented this and you’re the first person I’ve heard ask about a command line option to set it! I think this is because relatively few users want to change the renewal interval.
Right now a workaround might be to create a deploy-hook script that edits the renewal configuration file with sed -i or something.
I opened an issue for this
and I think we’ll eventually do it but I’m afraid it may not be a very high priority (unless someone from our community contributes a fix).