xref: /freebsd/crypto/openssl/demos/certs/ocsprun.sh (revision f81cdf24ba5436367377f7c8e8f51f6df2a75ca7)
1# Example of running an querying OpenSSL test OCSP responder.
2# This assumes "mkcerts.sh" or similar has been run to set up the
3# necessary file structure.
4
5OPENSSL=../../apps/openssl
6OPENSSL_CONF=../../apps/openssl.cnf
7export OPENSSL_CONF
8
9# Run OCSP responder.
10
11PORT=8888
12
13$OPENSSL ocsp -port $PORT -index index.txt -CA intca.pem \
14	-rsigner resp.pem -rkey respkey.pem -rother intca.pem $*
15