1
0
mirror of https://github.com/kakwa/uts-server synced 2024-11-05 01:08:51 +01:00
Go to file
2016-09-10 00:48:24 +02:00
cmake use civetweb 2016-08-19 00:04:13 +02:00
conf fix default configuration 2016-09-09 21:45:00 +02:00
docs init project skeleton 2015-12-16 23:11:08 +01:00
goodies python script to gen doc from conf file comments 2016-09-10 00:48:24 +02:00
inc enabling multi-threads support 2016-09-08 23:21:53 +02:00
src more consistent log messages 2016-09-09 08:26:31 +02:00
tests displaying the timer every 1000 requests instead of every 10000 2016-09-09 00:03:42 +02:00
.gitignore adding vim swap files in the git ignore 2016-09-09 08:28:21 +02:00
.gitmodules remove submodule for civetweb 2016-09-07 20:56:02 +02:00
.travis.yml adding a small external test 2016-09-07 21:41:21 +02:00
CMakeLists.txt switch version to 0.0.1 2016-09-09 22:19:02 +02:00
LICENSE Initial commit 2015-12-16 22:13:06 +01:00
README.md cleanup documentation 2016-09-09 21:45:22 +02:00

uts-server

Build Status

Micro timestamp server (RFC 3161) written in C

Status

Alpha

Dependencies

License

Released under the MIT Public License

Usage

$ ./uts-server --help
Usage: uts-server [OPTION...] -c CONFFILE [-d] [-D] [-p <pidfile>]

UTS micro timestamp server (RFC 3161)

  -c, --conffile=CONFFILE    Path to configuration file
  -d, --daemonize            Launch as a daemon
  -D, --debug                STDOUT debugging
  -p, --pidfile=PIDFILE      Path to pid file
  -?, --help                 Give this help list
      --usage                Give a short usage message
  -V, --version              Print program version

Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.

Report bugs to Pierre-Francois Carpentier <carpentier.pf@gmail.com>.

Configuration

Building

$ cmake .
$ make -j 2

Playing with it

# building with civetweb embedded (will recover civetweb from github)
$ cmake . -DBUNDLE_CIVETWEB=ON
$ make

# create some test certificates
$ ./tests/cfg/pki/create_tsa_certs

# launching the timestamp server with test configuration in debug mode
$ ./uts-server -c tests/cfg/uts-server.cnf -D

# in another shell, launching a timestamp script on the README.md file
$ ./goodies/timestamp-file.sh -i README.md -u http://localhost:2020 -r -O "-cert";