TSA-Client: verify againt original file
This commit is contained in:
parent
466938ac8e
commit
d3f707f3f3
1 changed files with 2 additions and 2 deletions
|
@ -56,9 +56,9 @@ echo
|
|||
|
||||
echo "-------> Verify TSR (informational)"
|
||||
echo "# curl --silent --output freetsa_cacert.pem https://freetsa.org/files/cacert.pem"
|
||||
echo "# openssl ts -verify -in $fileToStamp.tsr -queryfile $fileToStamp.tsq -CAfile freetsa_cacert.pem"
|
||||
echo "# openssl ts -verify -data $fileToStamp -in $fileToStamp.tsr -CAfile freetsa_cacert.pem"
|
||||
curl --silent --output freetsa_cacert.pem https://freetsa.org/files/cacert.pem 2>&1 | sed 's/^/ /'
|
||||
openssl ts -verify -in $fileToStamp.tsr -queryfile $fileToStamp.tsq -CAfile freetsa_cacert.pem 2>&1 | sed 's/^/ /'
|
||||
openssl ts -verify -data $fileToStamp -in $fileToStamp.tsr -CAfile freetsa_cacert.pem 2>&1 | sed 's/^/ /'
|
||||
|
||||
} | tee $fileToStamp.log
|
||||
|
||||
|
|
Reference in a new issue