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