VirtualBox

source: vbox/trunk/src/libs/openssl-3.1.4/demos/certs/ocspquery.sh@ 104031

Last change on this file since 104031 was 102863, checked in by vboxsync, 11 months ago

openssl-3.1.4: Applied and adjusted our OpenSSL changes to 3.1.3. bugref:10577

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