VirtualBox

source: vbox/trunk/src/libs/openssl-1.1.1j/demos/certs/ocspquery.sh@ 89163

Last change on this file since 89163 was 87984, checked in by vboxsync, 4 years ago

openssl-1.1.1j: Applied and adjusted our OpenSSL changes to 1.1.1j. bugref:9963

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

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette