2016-09-10 03:10:21 +02:00
|
|
|
uts-server
|
|
|
|
==========
|
|
|
|
|
|
|
|
.. image:: https://travis-ci.org/kakwa/uts-server.svg?branch=master
|
|
|
|
:target: https://travis-ci.org/kakwa/uts-server
|
|
|
|
|
2016-09-10 12:03:03 +02:00
|
|
|
.. image:: https://readthedocs.org/projects/uts-server/badge/?version=latest
|
|
|
|
:target: http://uts-server.readthedocs.org/en/latest/?badge=latest
|
|
|
|
:alt: Documentation Status
|
2016-09-10 03:10:21 +02:00
|
|
|
|
2016-09-11 19:14:40 +02:00
|
|
|
Micro `RFC 3161 Time-Stamp <https://www.ietf.org/rfc/rfc3161.txt>`_ server written in C.
|
2016-09-10 03:10:21 +02:00
|
|
|
|
2016-09-10 12:03:03 +02:00
|
|
|
----
|
2016-09-10 03:10:21 +02:00
|
|
|
|
2016-09-10 12:03:03 +02:00
|
|
|
:Doc: `Uts-Server documentation on ReadTheDoc <http://uts-server.readthedocs.org/en/latest/>`_
|
|
|
|
:Dev: `Uts-Server source code on GitHub <https://github.com/kakwa/uts-server>`_
|
|
|
|
:License: MIT
|
|
|
|
:Author: Pierre-Francois Carpentier - copyright © 2016
|
2016-09-10 03:10:21 +02:00
|
|
|
|
2016-09-10 12:03:03 +02:00
|
|
|
----
|
2016-09-10 03:10:21 +02:00
|
|
|
|
2016-09-10 12:03:03 +02:00
|
|
|
Status
|
|
|
|
------
|
2016-09-10 03:10:21 +02:00
|
|
|
|
2016-09-10 12:03:03 +02:00
|
|
|
Alpha
|
2016-09-10 03:10:21 +02:00
|
|
|
|
|
|
|
License
|
|
|
|
-------
|
|
|
|
|
|
|
|
Released under the MIT Public License
|
|
|
|
|
2016-09-10 12:03:03 +02:00
|
|
|
Quick Start
|
|
|
|
-----------
|
2016-09-10 03:10:21 +02:00
|
|
|
|
|
|
|
.. sourcecode:: bash
|
|
|
|
|
2016-09-11 19:24:27 +02:00
|
|
|
# Building with civetweb embedded (will recover civetweb from github).
|
2016-09-10 03:10:21 +02:00
|
|
|
$ cmake . -DBUNDLE_CIVETWEB=ON
|
|
|
|
$ make
|
|
|
|
|
2016-09-11 19:24:27 +02:00
|
|
|
# Create some test certificates.
|
2016-09-10 03:10:21 +02:00
|
|
|
$ ./tests/cfg/pki/create_tsa_certs
|
|
|
|
|
2016-09-11 19:24:27 +02:00
|
|
|
# Launching the time-stamp server with test configuration in debug mode.
|
2016-09-10 03:10:21 +02:00
|
|
|
$ ./uts-server -c tests/cfg/uts-server.cnf -D
|
|
|
|
|
2016-09-11 19:24:27 +02:00
|
|
|
# In another shell, launching a time-stamp script on the README.md file.
|
|
|
|
$ ./goodies/timestamp-file.sh -i README.rst -u http://localhost:2020 -r -O "-cert";
|
|
|
|
|
|
|
|
# Verify the time-stamp.
|
|
|
|
$ openssl ts -verify -in README.rst.tsr -data README.rst -CAfile ./tests/cfg/pki/tsaca.pem
|
|
|
|
|
|
|
|
# Display the time-stamp content.
|
|
|
|
$ openssl ts -reply -in README.rst.tsr -text
|