From: Lukas Schauer Date: Tue, 3 Feb 2026 21:01:15 +0000 (+0100) Subject: remove noout flag from time-based validity check X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e6933464e1d68352e9f58e36373ac9f092ecebb;p=thirdparty%2Fdehydrated.git remove noout flag from time-based validity check --- diff --git a/dehydrated b/dehydrated index 4867151..beb5434 100755 --- a/dehydrated +++ b/dehydrated @@ -1952,7 +1952,7 @@ command_sign_domains() { valid="$("${OPENSSL}" x509 -enddate -noout -in "${cert}" | cut -d= -f2- )" printf " + Valid till %s " "${valid}" - if ("${OPENSSL}" x509 -checkend $((RENEW_DAYS * 86400)) -noout -in "${cert}" 2>&1 | grep -q "will not expire"); then + if ("${OPENSSL}" x509 -checkend $((RENEW_DAYS * 86400)) -in "${cert}" 2>&1 | grep -q "will not expire"); then printf "(Longer than %d days). " "${RENEW_DAYS}" if [[ "${force_renew}" = "yes" ]]; then echo "Ignoring because renew was forced!"