3 # Example querying OpenSSL test responder. Assumes ocsprun.sh has been
7 LD_LIBRARY_PATH=../.. ../../apps/openssl $@
10 OPENSSL_CONF=../../apps/openssl.cnf
15 # Send responder queries for each certificate.
17 echo "Requesting OCSP status for each certificate"
18 opensslcmd ocsp -issuer intca.pem -cert client.pem -CAfile root.pem \
19 -url http://127.0.0.1:8888/
20 opensslcmd ocsp -issuer intca.pem -cert server.pem -CAfile root.pem \
21 -url http://127.0.0.1:8888/
22 opensslcmd ocsp -issuer intca.pem -cert rev.pem -CAfile root.pem \
23 -url http://127.0.0.1:8888/
24 # One query for all three certificates.
25 echo "Requesting OCSP status for three certificates in one request"
26 opensslcmd ocsp -issuer intca.pem \
27 -cert client.pem -cert server.pem -cert rev.pem \
28 -CAfile root.pem -url http://127.0.0.1:8888/