diff --git a/hooks/timestamping b/hooks/timestamping index 30daeda..a2756f2 100755 --- a/hooks/timestamping +++ b/hooks/timestamping @@ -553,7 +553,7 @@ download_crls_for_chain() { local URL=$(openssl x509 -inform PEM -in $EXTRACTED_CERT -text -noout \ | awk '/CRL Distribution Points:/{f=1} f && /URI:/ {print; exit}' \ | sed 's/^.*URI://1') - if curl "$URL" --output "$CRL_TMP" &> "$OUT_STREAM"; then + if curl -L "$URL" --output "$CRL_TMP" &> "$OUT_STREAM"; then if openssl crl -in "$CRL_TMP" -inform DER -noout &> "$OUT_STREAM"; then openssl crl -in "$CRL_TMP" -inform DER >> "$OUTPUT_FILE" elif openssl crl -in "$CRL_TMP" -inform PEM -noout &> "$OUT_STREAM"; then