xref: /freebsd/crypto/openssl/demos/certs/ocsprun.sh (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
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