diff options
Diffstat (limited to 'demos/certs/ocsprun.sh')
-rw-r--r-- | demos/certs/ocsprun.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/demos/certs/ocsprun.sh b/demos/certs/ocsprun.sh new file mode 100644 index 0000000000..a65e5f2fd1 --- /dev/null +++ b/demos/certs/ocsprun.sh @@ -0,0 +1,14 @@ +# Example of running an querying OpenSSL test OCSP responder. +# This assumes "mkcerts.sh" or similar has been run to set up the +# necessary file structure. + +OPENSSL=../../apps/openssl +OPENSSL_CONF=../../apps/openssl.cnf +export OPENSSL_CONF + +# Run OCSP responder. + +PORT=8888 + +$OPENSSL ocsp -port $PORT -index index.txt -CA intca.pem \ + -rsigner resp.pem -rkey respkey.pem -rother intca.pem $* |