From fc9e5dfd67200171b4c2f7e898dd5cee749f7660 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20D=C3=BCsterhaupt?= Date: Sat, 28 Mar 2026 10:39:12 +0100 Subject: [PATCH] cleanup: remove leftover pem_chain file in DYNTLS_TMP after cert issuing --- dyntls.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dyntls.sh b/dyntls.sh index 215cbb3..a409c6d 100644 --- a/dyntls.sh +++ b/dyntls.sh @@ -1094,11 +1094,13 @@ _create_cert() { else _log "Staging mode: certificate issued but not installed." 2 rm -f "$out_file_tmp" + rm -f "$DYNTLS_TMP/$DYNTLS_MEMBER_HOSTNAME.cert.pem_chain" export DYNTLS_RELOAD_WEBSERVER="false" fi 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 "$DYNTLS_TMP/$DYNTLS_MEMBER_HOSTNAME.cert.pem_chain" fi fi