]> git.ipfire.org Git - thirdparty/dehydrated.git/commitdiff
also inform about still-valid ocsp stapling files (fixes #457)
authorLukas Schauer <lukas@schauer.so>
Wed, 13 Dec 2017 23:11:40 +0000 (00:11 +0100)
committerLukas Schauer <lukas@schauer.so>
Wed, 13 Dec 2017 23:11:40 +0000 (00:11 +0100)
dehydrated

index e7be38a8e153ba6c927434976ae5f25df90de659..3e03f73ac4765cf5bd9441a8dba201e456a9fc9a 100755 (executable)
@@ -1064,6 +1064,8 @@ command_sign_domains() {
           "${OPENSSL}" ocsp -no_nonce -issuer "${chain}" -verify_other "${chain}" -cert "${cert}" -respout "${certdir}/ocsp-${ocsp_timestamp}.der" -url "${ocsp_url}" > /dev/null 2>&1
         fi
         ln -sf "ocsp-${ocsp_timestamp}.der" "${certdir}/ocsp.der"
+      else
+        echo " + OSCP stapling file is still valid (skipping update)"
       fi
     fi
   done