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