From 2c55916a01cd0f50fe2b2f479e88a36eb2f4b921 Mon Sep 17 00:00:00 2001 From: "Dr. David von Oheimb" Date: Thu, 26 Sep 2024 12:33:06 +0200 Subject: [PATCH] README.md: document the new easy-to-use HTTP client trace facility --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 9ee1792..6cb50ba 100644 --- a/README.md +++ b/README.md @@ -402,6 +402,14 @@ make -f Makefile_v1 test_Insta where the PROXY environment variable may be used to override the default in order to reach the Insta Demo CA. +In order to obain a trace of the HTTP messages being sent and received, +build the genCMPClient with `USE_LIBCMP=1` and +set the environment variable `OPENSSL_TRACE` to contain the string `"HTTP"`. +For instance: +``` +OPENSSL_TRACE=HTTP ./cmpClient imprint -section Insta +``` + ## Using the library in own applications