Changeset c4d6e77 in mod_gnutls


Ignore:
Timestamp:
May 23, 2016, 5:08:12 PM (2 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, master, upstream
Children:
efe884e
Parents:
9e309ae
git-author:
Thomas Klute <thomas2.klute@…> (05/23/16 15:08:15)
git-committer:
Thomas Klute <thomas2.klute@…> (05/23/16 17:08:12)
Message:

Test suite: New test case for simple HTTPS access with OCSP status check

Location:
test
Files:
5 added
5 edited

Legend:

Unmodified
Added
Removed
  • test/Makefile.am

    r9e309ae rc4d6e77  
    2929        test-24_pkcs11_cert.bash \
    3030        test-25_Disable_TLS_1.0.bash \
    31         test-26_redirect_HTTP_to_HTTPS.bash
     31        test-26_redirect_HTTP_to_HTTPS.bash \
     32        test-27_OCSP_server.bash
    3233
    3334TESTS = $(dist_check_SCRIPTS)
     
    171172
    172173# Apache configuration and data files
    173 apache_data = base_apache.conf cgi_module.conf data/* mime.types proxy_mods.conf
     174apache_data = base_apache.conf cgi_module.conf data/* mime.types ocsp_server.conf proxy_mods.conf
    174175
    175176EXTRA_DIST = $(apache_data) $(cert_templates) *.uid.in common.bash \
  • test/ocsp-responder.template

    r9e309ae rc4d6e77  
    11cn="Testing Authority OCSP Responder"
    2 # Workaround: certtool ignores "ocsp_signing_key" if "ca" is not set
    3 ca
    42signing_key
    53ocsp_signing_key
  • test/ocsp_server.conf

    r9e309ae rc4d6e77  
    1 Include         cgi_module.conf
     1Include         ${srcdir}/cgi_module.conf
    22LoadModule      env_module              ${AP_LIBEXECDIR}/mod_env.so
    33LoadModule      rewrite_module          ${AP_LIBEXECDIR}/mod_rewrite.so
  • test/runtests

    r9e309ae rc4d6e77  
    189189fi
    190190
     191# check OCSP server
     192if [ -n "${CHECK_OCSP_SERVER}" ]; then
     193    echo "---- Testing OCSP server ----"
     194    ocsptool --ask --nonce --load-issuer authority/x509.pem --load-cert server/x509.pem
     195    echo "---- OCSP test done ----"
     196fi
     197
    191198# PID file for sleep command (explanation below)
    192199sleep_pidfile="$(mktemp mod_gnutls_test-XXXXXX.pid)"
  • test/tests/Makefile.am

    r9e309ae rc4d6e77  
    2626        24_pkcs11_cert/apache.conf 24_pkcs11_cert/gnutls-cli.args 24_pkcs11_cert/input 24_pkcs11_cert/output \
    2727        25_Disable_TLS_1.0/apache.conf 25_Disable_TLS_1.0/fail.client 25_Disable_TLS_1.0/gnutls-cli.args 25_Disable_TLS_1.0/input \
    28         26_redirect_HTTP_to_HTTPS/apache.conf
     28        26_redirect_HTTP_to_HTTPS/apache.conf \
     29        27_OCSP_server/apache.conf 27_OCSP_server/gnutls-cli.args 27_OCSP_server/input 27_OCSP_server/output
Note: See TracChangeset for help on using the changeset viewer.