VirtualBox

source: vbox/trunk/src/libs/openssl-3.0.7/demos/certs/ocspquery.sh@ 100966

最後變更 在這個檔案從100966是 91772,由 vboxsync 提交於 3 年 前

openssl-1.1.1l: Applied and adjusted our OpenSSL changes to 1.1.1l. bugref:10126

檔案大小: 798 位元組
 
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/
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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