cleanup: remove leftover pem_chain file in DYNTLS_TMP after cert issuing

This commit is contained in:
2026-03-28 10:39:12 +01:00
parent bd34efc598
commit fc9e5dfd67
+3 -1
View File
@@ -1094,11 +1094,13 @@ _create_cert() {
else else
_log "Staging mode: certificate issued but not installed." 2 _log "Staging mode: certificate issued but not installed." 2
rm -f "$out_file_tmp" rm -f "$out_file_tmp"
rm -f "$DYNTLS_TMP/$DYNTLS_MEMBER_HOSTNAME.cert.pem_chain"
export DYNTLS_RELOAD_WEBSERVER="false" export DYNTLS_RELOAD_WEBSERVER="false"
fi fi
else else
_log "Issued certificate does not satisfy validity window; removing temporary file." 4 _log "Issued certificate does not satisfy validity window; removing temporary file(s)." 4
rm -f "$out_file_tmp" rm -f "$out_file_tmp"
rm -f "$DYNTLS_TMP/$DYNTLS_MEMBER_HOSTNAME.cert.pem_chain"
fi fi
fi fi