ocsprun.sh 464 B

123456789101112131415161718192021
  1. #!/bin/sh
  2. opensslcmd() {
  3. LD_LIBRARY_PATH=../.. ../../apps/openssl $@
  4. }
  5. # Example of running an querying OpenSSL test OCSP responder.
  6. # This assumes "mkcerts.sh" or similar has been run to set up the
  7. # necessary file structure.
  8. OPENSSL_CONF=../../apps/openssl.cnf
  9. export OPENSSL_CONF
  10. opensslcmd version
  11. # Run OCSP responder.
  12. PORT=8888
  13. opensslcmd ocsp -port $PORT -index index.txt -CA intca.pem \
  14. -rsigner resp.pem -rkey respkey.pem -rother intca.pem $*