openssl ts

OpenSSL command to generate and verify timestamps. More information: https://www.openssl.org/docs/manmaster/man1/openssl-ts.html.

openssl ts -query -data {{path/to/file}} -sha512 -out {{path/to/file.tsq}}

openssl ts -reply -in {{path/to/file.tsr}} -text

openssl ts -verify -in {{path/to/file.tsr}} -queryfile {{path/to/file.tsq}} -partial_chain -CAfile {{path/to/cert.pem}}

openssl ts -reply -queryfile {{path/to/file.tsq}} -inkey {{path/to/tsakey.pem}} -signer tsacert.pem -out {{path/to/file.tsr}}