A local copy of OpenSSL from GitHub
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
798 B

  1. # Example querying OpenSSL test responder. Assumes ocsprun.sh has been
  2. # called.
  3. OPENSSL=../../apps/openssl
  4. OPENSSL_CONF=../../apps/openssl.cnf
  5. export OPENSSL_CONF
  6. # Send responder queries for each certificate.
  7. echo "Requesting OCSP status for each certificate"
  8. $OPENSSL ocsp -issuer intca.pem -cert client.pem -CAfile root.pem \
  9. -url http://127.0.0.1:8888/
  10. $OPENSSL ocsp -issuer intca.pem -cert server.pem -CAfile root.pem \
  11. -url http://127.0.0.1:8888/
  12. $OPENSSL ocsp -issuer intca.pem -cert rev.pem -CAfile root.pem \
  13. -url http://127.0.0.1:8888/
  14. # One query for all three certificates.
  15. echo "Requesting OCSP status for three certificates in one request"
  16. $OPENSSL ocsp -issuer intca.pem \
  17. -cert client.pem -cert server.pem -cert rev.pem \
  18. -CAfile root.pem -url http://127.0.0.1:8888/