mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-05-16 11:57:01 +02:00
committed by
Lukas Schauer
parent
13b8a3f29f
commit
2fca309e94
@@ -1316,6 +1316,7 @@ command_sign_domains() {
|
|||||||
ocsp_log="$("${OPENSSL}" ocsp -no_nonce -issuer "${chain}" -verify_other "${chain}" -cert "${cert}" -respout "${certdir}/ocsp-${ocsp_timestamp}.der" -url "${ocsp_url}" 2>&1)" || _exiterr "Error while fetching OCSP information: ${ocsp_log}"
|
ocsp_log="$("${OPENSSL}" ocsp -no_nonce -issuer "${chain}" -verify_other "${chain}" -cert "${cert}" -respout "${certdir}/ocsp-${ocsp_timestamp}.der" -url "${ocsp_url}" 2>&1)" || _exiterr "Error while fetching OCSP information: ${ocsp_log}"
|
||||||
fi
|
fi
|
||||||
ln -sf "ocsp-${ocsp_timestamp}.der" "${certdir}/ocsp.der"
|
ln -sf "ocsp-${ocsp_timestamp}.der" "${certdir}/ocsp.der"
|
||||||
|
[[ -n "${HOOK}" ]] && "${HOOK}" "ocsp_update" "${domain}" "${certdir}/ocsp.der"
|
||||||
else
|
else
|
||||||
echo " + OSCP stapling file is still valid (skipping update)"
|
echo " + OSCP stapling file is still valid (skipping update)"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user