]> git.ipfire.org Git - thirdparty/dehydrated.git/commitdiff
remove noout flag from time-based validity check
authorLukas Schauer <lukas@schauer.dev>
Tue, 3 Feb 2026 21:01:15 +0000 (22:01 +0100)
committerLukas Schauer <lukas@schauer.dev>
Tue, 3 Feb 2026 21:01:15 +0000 (22:01 +0100)
dehydrated

index 48671513e666267f1f840ffb5c8e85f9b373b6c9..beb5434493f426d80a8ed9080ec52caeea07e4d6 100755 (executable)
@@ -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!"