diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 97e29367..18b9a3db 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -78,7 +78,7 @@ NEWCERT(){ do_with_root chown -R root:letsencrypt /etc/letsencrypt do_with_root chmod -R 6775 /etc/letsencrypt rm -f /etc/letsencrypt/cert-request.lastrun - echo -e "${NEW_CERT}" > /etc/letsencrypt/cert-request.lastrun + echo -e "${NEW_CERT}\n${daterun}" > /etc/letsencrypt/cert-renewal.lastrun DIVIDER true echo -en "${idsCL[LightYellow]}Waiting for certifcate replication between the nodes... ${idsCL[Default]}" checked=false