mirror of
https://github.com/kakwa/uts-server
synced 2024-11-05 09:18:50 +01:00
1.9 KiB
1.9 KiB
uts-server
Micro RFC 3161 Time-Stamp server written in C.
- Doc
- Dev
- License
-
MIT
- Author
-
Pierre-Francois Carpentier - copyright © 2016
License
Released under the MIT Public License
Quick Start
# 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 time-stamp server with test configuration in debug mode.
$ ./uts-server -c tests/cfg/uts-server.cnf -D
# 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