source: mod_gnutls/test/test-27_OCSP_server.bash @ 4cc1edc

Last change on this file since 4cc1edc was 94cb972, checked in by Thomas Klute <thomas2.klute@…>, 5 years ago

Minimal OCSP stapling implementation using externally provided response

Works if the configured file contains a valid and current OCSP
response. Note that the module does not yet check those conditions,
the file is just read and forwarded to GnuTLS.

  • Property mode set to 100755
File size: 430 bytes
2# Try HTTPS access with OCSP status check
4# Skip if OCSP tests are not enabled
5[ -n "${OCSP_PORT}" ] || exit 77
7# trigger OCSP server test in the runtests script
8export CHECK_OCSP_SERVER="true"
[94cb972]9export OCSP_RESPONSE_FILE="$(mktemp mod_gnutls_test-XXXXXX.der)"
11${srcdir}/runtests t-27
13ocsptool -e --load-signer authority/x509.pem --load-response ${OCSP_RESPONSE_FILE} || ret=1
15exit ${ret}
Note: See TracBrowser for help on using the repository browser.