openssl Verified current stable Not installed? Security

Openssl / Create Timestamp Response From Request

Create Timestamp Response From Request

Create a timestamp response from a request using OpenSSL for secure time validation.

$
Terminal
openssl ts -reply -queryfile <path/to/file.tsq> -inkey <path/to/tsakey.pem> -signer tsacert.pem -out <path/to/file.tsr>

When To Use

Creating a timestamp response for secure transaction validation.

Command Builder

Tune the command before you copy it

Back to syntax
$
Generated Command
openssl ts -reply -queryfile <path/to/file.tsq> -inkey <path/to/tsakey.pem> -signer tsacert.pem -out <path/to/file.tsr>

Terminal Output

Expected runtime feedback

Simulated preview
>
Output
Signature Algorithm: sha256WithRSAEncryption
Timestamp Response:
  Version: v1
  Status: success
  Time: 2023-10-01T12:00:00Z

Command Breakdown

What each part is doing

openssl
Base Command
The executable that performs this operation. Here it runs Openssl before the shell applies any redirect operators.
<path/to/file.tsq>
Input Files
The file path or paths supplied to this command.
<path/to/tsakey.pem>
path to tsakey.pem
The value supplied for path to tsakey.pem.
<path/to/file.tsr>
Input Files
The file path or paths supplied to this command.
-reply
Command Option
Tool-specific option used by this command invocation.
-queryfile
Command Option
Tool-specific option used by this command invocation.
-inkey
Command Option
Tool-specific option used by this command invocation.
-signer
Command Option
Tool-specific option used by this command invocation.
-out
Command Option
Tool-specific option used by this command invocation.

How To Run

Execution path

  1. Step 1

    Prepare your timestamp request file (.tsq).

  2. Step 2

    Run the OpenSSL command with the appropriate paths.

  3. Step 3

    Check the output file for the generated timestamp response (.tsr).

Alternative Approaches

Comparable commands in other tools

Alternative security tools for the same job.