diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index 5f25e90..7540acf 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/manual.yml @@ -27,7 +27,8 @@ jobs: #for ((i = 0; i < ${array_length}; i++)); do #crlfile=$(cat ${sourcefile} | jq ".[$i].url" | sed 's/"//g') wget $crlfile -O complete.crl - filename=$(cat ${sourcefile} | jq ".[$i].file" | sed 's/"//g') + filename=$(cat ${sourcefile} | jq ".[6].file" | sed 's/"//g') + openssl crl -nameopt utf8 -inform DER -text -in complete.crl openssl crl -nameopt utf8 -inform DER -text -in complete.crl | grep "Serial Number" | cut -d " " -f 7 > temp echo $? awk -v RS= '/----/{next}{gsub(/\n/,"\",\"")}BEGIN{printf "\""}7' temp > temp2