mirror of
https://github.com/openssl/openssl.git
synced 2024-12-21 06:09:35 +08:00
bcd92754d5
set LD_LIBRARY_PATH so the correct libs can be found. Testing: cd demos/certs && sh mkcerts.sh cd demos/certs/apps && sh -x mkacerts.sh Reviewed-by: Neil Horman <nhorman@openssl.org> Reviewed-by: Paul Yang <kaishen.yy@antfin.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/23142)
22 lines
464 B
Bash
22 lines
464 B
Bash
#!/bin/sh
|
|
|
|
opensslcmd() {
|
|
LD_LIBRARY_PATH=../.. ../../apps/openssl $@
|
|
}
|
|
|
|
# Example of running an querying OpenSSL test OCSP responder.
|
|
# This assumes "mkcerts.sh" or similar has been run to set up the
|
|
# necessary file structure.
|
|
|
|
OPENSSL_CONF=../../apps/openssl.cnf
|
|
export OPENSSL_CONF
|
|
|
|
opensslcmd version
|
|
|
|
# Run OCSP responder.
|
|
|
|
PORT=8888
|
|
|
|
opensslcmd ocsp -port $PORT -index index.txt -CA intca.pem \
|
|
-rsigner resp.pem -rkey respkey.pem -rother intca.pem $*
|