From 5950ff1286e139216f2bcf3c16547487b8156d8d Mon Sep 17 00:00:00 2001 From: kakwa Date: Wed, 7 Sep 2016 21:14:12 +0200 Subject: [PATCH] documenting the civetweb bundleling --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 5a2dd84..09e42fd 100644 --- a/README.md +++ b/README.md @@ -59,3 +59,22 @@ Report bugs to Pierre-Francois Carpentier . $ cmake . $ make -j 2 ``` + +## Playing with it + +```bash +# 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"; +``` + +