cleanup: remove leftover pem_chain file in DYNTLS_TMP after cert issuing
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user