Linux Time Stamp Server

This is obsolete content. Please go here:
http://www.gregs.eu/linux-time-stamp-server/
-Greg

A time-stamping service supports assertions of proof that a datum existed before a particular time. A TSA may be operated as a Trusted Third Party (TTP) service, though other operational models may be appropriate, e.g., an organization might require a TSA for internal time-stamping purposes.
The TSA is a TTP that creates time-stamp tokens in order to indicate that a datum existed at a particular point in time.
These project include two elements:
– TSA Server (s.pl)
– Simple TSA Client (k.pl)

Both scripts have been written in Perl. Server works on Linux system as deamon and listen on port 318. After receiving time stamp request message, server generate time stamp response and sent it back.
Server base on OpenSSL and ts patch, that you can download from site:
http://www.opentsa.org

Requirements
—————

– Perl
– OpenSSL with Time Stamp patch

Install:
——–

1. install perl for your Distribution of Linux

2. download the correct version of OpenSSL from http://www.openssl.org/

3. download correct Time Stamp patch to OpenSSL from http://www.opentsa.org/

4. extract OpenSSL:

$ gzip -cd openssl-VERSION.tar.gz | tar xf -

5. apply the OpenTSA patch (you should not see any error messages while
applying the patch):

$ cd openssl-VERSION
$ gzip -cd ts-VERSION.patch.gz | patch -p1

6. follow the instructions in the OpenSSL documentation for configuring
and building OpenSSL. Here is a brief summary:

$ ./config
$ make
$ make test

as root:

$ make install

Usage:
——

Server script (s.pl) require correct path to certificate.
In order to run write:

$ perl s.pl
or
$ ./s.pl

Client script (k.pl) require five parameters:
host – host address to time Stamp server
port – server port
file.tsq – Time Stamp Request file
file.tsr – Time Stamp Response file

Download:

2 thoughts on “Linux Time Stamp Server

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s