diff --git a/certbotd.sh b/certbotd.sh index 91de0c4..e8a25bb 100755 --- a/certbotd.sh +++ b/certbotd.sh @@ -192,6 +192,11 @@ case $1 in touch "${updated}" done + + find /etc/letsencrypt/renewal/ -name "*-001.conf" | while read broken_renewal; do + not_ok "${broken_renewal} certbot found an inconsistency on certificates and decided to create a new one" + touch "${failed}" + done esac if test -f "${failed}" ; then