Changeset 33af2b7 in mod_gnutls
- Timestamp:
- May 11, 2015, 6:28:20 PM (8 years ago)
- Branches:
- asyncio, debian/master, debian/stretch-backports, jessie-backports, main, master, proxy-ticket, upstream
- Children:
- 31caead
- Parents:
- e24eed68
- git-author:
- Thomas Klute <thomas2.klute@…> (05/11/15 18:12:28)
- git-committer:
- Thomas Klute <thomas2.klute@…> (05/11/15 18:28:20)
- Files:
-
- 1 added
- 89 edited
- 6 moved
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
re24eed68 r33af2b7 83 83 AC_SUBST(MODULE_LIBS) 84 84 85 AC_CONFIG_FILES([Makefile src/Makefile test/Makefile include/mod_gnutls.h])85 AC_CONFIG_FILES([Makefile src/Makefile test/Makefile test/tests/Makefile include/mod_gnutls.h]) 86 86 AC_OUTPUT 87 87 -
test/.gitignore
re24eed68 r33af2b7 14 14 authority.template 15 15 msva.gnupghome 16 crl.pem17 16 *.log 18 17 *.trs 19 18 *.lock 20 tests/24_pkcs11_cert/softhsm.conf -
test/Makefile.am
re24eed68 r33af2b7 1 check_SCRIPTS = test-00_basic.bash \ 1 SUBDIRS = tests 2 3 dist_check_SCRIPTS = test-00_basic.bash \ 2 4 test-01_serverwide_priorities.bash \ 3 5 test-02_cache_in_vhost.bash \ … … 15 17 test-14_basic_openpgp.bash 16 18 if USE_MSVA 17 check_SCRIPTS += test-15_basic_msva.bash19 dist_check_SCRIPTS += test-15_basic_msva.bash 18 20 endif 19 check_SCRIPTS += test-16_view-status.bash \21 dist_check_SCRIPTS += test-16_view-status.bash \ 20 22 test-17_cgi_vars_large_cert.bash \ 21 23 test-18_client_verification_wrong_cert.bash \ … … 27 29 test-24_pkcs11_cert.bash 28 30 29 TESTS = $( check_SCRIPTS)31 TESTS = $(dist_check_SCRIPTS) 30 32 31 33 # Test cases trying to create keys and certificates in parallel causes … … 39 41 # running at any time, so test cases actually have to wait for each 40 42 # other - just not in any particular order. 41 check_DATA = setup.done 43 check_DATA = setup.done server/crl.pem 42 44 43 MOSTLYCLEANFILES = cache/* logs/* outputs/* 45 MOSTLYCLEANFILES = cache/* logs/* outputs/* server/crl.pem 44 46 45 47 clean-local: 46 $(MAKE) -f TestMakefile $(AM_MAKEFLAGS) clean48 $(MAKE) -f $(srcdir)/TestMakefile $(AM_MAKEFLAGS) clean 47 49 48 50 # SoftHSM files … … 54 56 # conditions between multiple calls to TestMakefile for key and 55 57 # certificate generation. It is ignored for setup.done itself. 56 server/softhsm.db setup.done: setup.done 57 $(MAKE) -f TestMakefile $(AM_MAKEFLAGS) $@ 58 server/crl.pem server/softhsm.db setup.done: setup.done 59 srcdir=$(srcdir) $(MAKE) -f $(srcdir)/TestMakefile $(AM_MAKEFLAGS) $@ 60 61 cert_templates = authority.template.in client.template.in \ 62 imposter.template.in rogueca.template server.template.in 63 apache_data = base_apache.conf data/* mime.types 64 65 EXTRA_DIST = $(apache_data) $(cert_templates) *.uid.in proxy_backend.bash \ 66 runtests server-crl.template server-softhsm.conf softhsm.bash \ 67 TestMakefile -
test/TestMakefile
re24eed68 r33af2b7 5 5 # run these tests to ensure that mod_gnutls can handle a range of 6 6 # simple configuration choices. 7 8 export srcdir ?= . 7 9 8 10 export TEST_HOST ?= localhost … … 18 20 19 21 all: setup.done 20 TEST_LOCK=$(TEST_LOCK) ./runtests22 TEST_LOCK=$(TEST_LOCK) $(srcdir)/runtests 21 23 22 24 t-%: setup.done 23 TEST_LOCK=$(TEST_LOCK) ./runtests $@25 TEST_LOCK=$(TEST_LOCK) $(srcdir)/runtests $@ 24 26 25 27 … … 32 34 all_tokens := $(foreach id,$(identities),$(foreach token,$(tokens),$(id)/$(token))) 33 35 34 %.template: %.template.in36 %.template: $(srcdir)/%.template.in 35 37 sed s/__HOSTNAME__/$(TEST_HOST)/ < $< > $@ 36 38 37 server.uid: server.uid.in39 %.uid: $(srcdir)/%.uid.in 38 40 sed s/__HOSTNAME__/$(TEST_HOST)/ < $< > $@ 39 41 … … 67 69 authority/x509.pem: authority.template authority/secret.key 68 70 certtool --generate-self-signed --load-privkey authority/secret.key --template authority.template > $@ 69 rogueca/x509.pem: rogueca.template rogueca/secret.key70 certtool --generate-self-signed --load-privkey rogueca/secret.key --template rogueca.template > $@71 rogueca/x509.pem: $(srcdir)/rogueca.template rogueca/secret.key 72 certtool --generate-self-signed --load-privkey rogueca/secret.key --template $(srcdir)/rogueca.template > $@ 71 73 72 74 %/cert-request: %.template %/secret.key … … 77 79 78 80 %/softhsm.db: %/x509.pem %/secret.key 79 SOFTHSM_CONF="$(*)-softhsm.conf" ./softhsm.bash init $(dir $@)secret.key $(dir $@)x509.pem 81 SOFTHSM_CONF="$(srcdir)/$(*)-softhsm.conf" $(srcdir)/softhsm.bash init $(dir $@)secret.key $(dir $@)x509.pem 82 83 # Generate CRL revoking a certain certificate. Currently used to 84 # revoke the server certificate and check if setting the CRL as 85 # GnuTLSProxyCRLFile causes the connection to the back end server to 86 # fail. 87 %/crl.pem: %/x509.pem ${srcdir}/%-crl.template 88 certtool --generate-crl \ 89 --load-ca-privkey authority/secret.key \ 90 --load-ca-certificate authority/x509.pem \ 91 --load-certificate $< \ 92 --template "${srcdir}/$(*)-crl.template" \ 93 > $@ 80 94 81 95 msva.gnupghome/trustdb.gpg: authority/minimal.pgp client/cert.pgp … … 87 101 88 102 89 setup.done: $(all_tokens) msva.gnupghome/trustdb.gpg 103 setup.done: $(all_tokens) msva.gnupghome/trustdb.gpg client.uid 90 104 mkdir -p logs cache outputs 91 105 touch setup.done … … 94 108 clean: 95 109 rm -rf server client authority logs cache outputs setup.done \ 96 server.template msva.gnupghome \110 server.template imposter.template msva.gnupghome \ 97 111 */*.pgp */*.gpg */*.gpg~ */*.pem */*.key authority.template \ 98 client.template server.uid *.lock tests/*/*.pem112 client.template client.uid server.uid *.lock tests/*/*.pem 99 113 rmdir imposter rogueca || true 100 114 -
test/base_apache.conf
re24eed68 r33af2b7 1 ServerRoot ${PWD} /../..1 ServerRoot ${PWD} 2 2 3 3 LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined … … 12 12 LoadModule authz_core_module /usr/lib/apache2/modules/mod_authz_core.so 13 13 LoadModule mime_module /usr/lib/apache2/modules/mod_mime.so 14 TypesConfig ${srcdir}/mime.types 14 15 15 16 Listen ${TEST_IP}:${TEST_PORT} 16 17 17 DocumentRoot data18 DocumentRoot ${srcdir}/data 18 19 LoadModule gnutls_module ../src/.libs/libmod_gnutls.so -
test/proxy_backend.bash
re24eed68 r33af2b7 12 12 export BACKEND_PORT="9934" 13 13 fi 14 if [ -z "${BACKEND_LOCK}" ] && [ -n "${testdir}" ]; then 15 BACKEND_LOCK="$(realpath ${testdir}/../../backend.lock)" 16 fi 14 : ${BACKEND_LOCK:="backend.lock"} 15 : ${srcdir:="."} 17 16 18 17 function backend_apache … … 32 31 export TEST_IP="${BACKEND_IP}" 33 32 export TEST_PORT="${BACKEND_PORT}" 33 export srcdir="$(realpath ${srcdir})" 34 34 case $action in 35 35 start) 36 cd "${dir}"37 36 ${flock_cmd} \ 38 /usr/sbin/apache2 -f "$( pwd)/${conf}" -k start || return 137 /usr/sbin/apache2 -f "$(realpath ${testdir}/${conf})" -k start || return 1 39 38 ;; 40 39 stop) 41 cd "${dir}" 42 /usr/sbin/apache2 -f "$(pwd)/${conf}" -k stop || return 1 40 /usr/sbin/apache2 -f "$(realpath ${testdir}/${conf})" -k stop || return 1 43 41 ;; 44 42 esac -
test/runtests
re24eed68 r33af2b7 21 21 22 22 if [ 0 != "$BADVARS" ]; then 23 exit 124 fi25 26 if [ . != "$(dirname "$0")" ]; then27 printf "You should only run this mod-gnutls test suite from the test/ directory of the mod_gnutls source.\n" >&228 23 exit 1 29 24 fi … … 85 80 function apache_down_err() { 86 81 printf "FAILURE: %s\n" "$TEST_NAME" 87 /usr/sbin/apache2 -f "$ (pwd)/apache.conf" -k stop || true82 /usr/sbin/apache2 -f "${t}/apache.conf" -k stop || true 88 83 if [ -e output ]; then 89 84 printf "\ngnutls-cli outputs:\n" … … 96 91 97 92 printf "\nApache error logs:\n" 98 tail " ../../logs/${TEST_NAME}.error.log"93 tail "logs/${TEST_NAME}.error.log" 99 94 100 95 if [ -n "${USE_MSVA}" ]; then … … 104 99 105 100 if [ -z "$tests" ] ; then 106 tests= ./tests/*101 tests=${srcdir}/tests/* 107 102 else 108 tests= ./tests/"$(printf "%02d" "$tests")"_*103 tests=${srcdir}/tests/"$(printf "%02d" "$tests")"_* 109 104 fi 110 105 111 106 if [ -n "${USE_MSVA}" ]; then 112 GNUPGHOME= $(pwd)/msva.gnupghome MSVA_KEYSERVER_POLICY=never monkeysphere-validation-agent &107 GNUPGHOME=msva.gnupghome MSVA_KEYSERVER_POLICY=never monkeysphere-validation-agent & 113 108 trap stop_msva EXIT 114 109 … … 125 120 sleep "$TEST_GAP" 126 121 fi 122 t="$(realpath ${t})" 123 export srcdir="$(realpath ${srcdir})" 127 124 export TEST_NAME="$(basename "$t")" 128 output=" ../../outputs/${TEST_NAME}.output"125 output="outputs/${TEST_NAME}.output" 129 126 rm -f "$output" 130 cd "$t" 131 if [ -e fail.* ]; then127 128 if [ -e ${t}/fail.* ]; then 132 129 EXPECTED_FAILURE="$(printf " (expected: %s)" fail.*)" 133 130 else … … 139 136 MONKEYSPHERE_VALIDATION_AGENT_SOCKET="http://127.0.0.1:$MSVA_PORT" \ 140 137 ${flock_cmd} \ 141 /usr/sbin/apache2 -f "$ (pwd)/apache.conf" -k start \142 || [ -e fail.server]138 /usr/sbin/apache2 -f "${t}/apache.conf" -k start \ 139 || [ -e "${t}/fail.server" ] 143 140 else 144 141 ${flock_cmd} \ 145 /usr/sbin/apache2 -f "$ (pwd)/apache.conf" -k start \146 || [ -e fail.server]142 /usr/sbin/apache2 -f "${t}/apache.conf" -k start \ 143 || [ -e "${t}/fail.server" ] 147 144 fi 148 145 … … 156 153 # case to proceed instead of waiting for it to return. The sleep 157 154 # process is stopped after gnutls-cli terminates. 158 if (sed "s/__HOSTNAME__/${TEST_HOST}/" < ./input && \155 if (sed "s/__HOSTNAME__/${TEST_HOST}/" <${t}/input && \ 159 156 run_with_pidfile "${sleep_pidfile}" sleep "${TEST_QUERY_DELAY}" &) | \ 160 gnutls-cli -p "${TEST_PORT}" $(cat ./gnutls-cli.args) "${TEST_HOST}" \157 gnutls-cli -p "${TEST_PORT}" $(cat ${t}/gnutls-cli.args) "${TEST_HOST}" \ 161 158 >"$output"; 162 159 then 163 if [ -e fail* ]; then160 if [ -e ${t}/fail* ]; then 164 161 printf "%s should have failed but succeeded\n" "$(basename "$t")" >&2 165 162 exit 1 166 163 fi 167 164 else 168 if [ ! -e fail* ]; then165 if [ ! -e ${t}/fail* ]; then 169 166 printf "%s should have succeeded but failed\n" "$(basename "$t")" >&2 170 167 exit 1 … … 175 172 unset sleep_pidfile 176 173 177 if [ -e output ] ; then178 diff_output_filter_headers " output" "$output" "-q"174 if [ -e ${t}/output ] ; then 175 diff_output_filter_headers "${t}/output" "$output" "-q" 179 176 fi 180 /usr/sbin/apache2 -f "$ (pwd)/apache.conf" -k stop || [ -efail.server ]177 /usr/sbin/apache2 -f "${t}/apache.conf" -k stop || [ -e ${t}/fail.server ] 181 178 if [ -n "${USE_MSVA}" ]; then 182 179 trap stop_msva EXIT … … 185 182 fi 186 183 printf "SUCCESS: %s\n" "$TEST_NAME" 187 cd ../..188 184 done 189 185 -
test/softhsm.bash
re24eed68 r33af2b7 95 95 softhsm_lib="${softhsm_prefix}/lib/softhsm/libsofthsm.so" 96 96 97 # provided SOFTHSM_CONF always takes precedence, otherwise try to 98 # guess based on testdir 97 # fail if SOFTHSM_CONF is not set 99 98 if [ -z "${SOFTHSM_CONF}" ]; then 100 if [ -n "${testdir}" ]; then 101 export SOFTHSM_CONF="$(realpath ${testdir}/softhsm.conf)" 102 else 103 echo "ERROR: Neither SOFTHSM_CONF nor testdir set!" 2>&1 104 exit 1 105 fi 99 echo "ERROR: SOFTHSM_CONF not set!" 1>&2 100 exit 1 106 101 else 107 102 export SOFTHSM_CONF … … 116 111 cert_label="certificate" 117 112 118 # The Apache/SoftHSM configuration mixes up directories, so generate119 # softhsm.conf with an absolute path to the token database if a120 # template is present. Generating it on every run avoids problems if121 # the source tree was moved.122 if [ -e "${SOFTHSM_CONF}.in" ]; then123 cat "${SOFTHSM_CONF}.in" | sed "s,__DIR__,$(realpath $(dirname ${SOFTHSM_CONF}))," \124 >"${SOFTHSM_CONF}"125 fi126 127 113 if [ "${init}" = "true" ]; then 128 114 prepare_token "${token_label}" "${2}" "${3}" -
test/test-00_basic.bash
re24eed68 r33af2b7 1 1 #!/bin/bash 2 make -f TestMakefile t-02 make -f $(dirname ${0})/TestMakefile t-0 -
test/test-01_serverwide_priorities.bash
re24eed68 r33af2b7 1 1 #!/bin/bash 2 make -f TestMakefile t-12 make -f $(dirname ${0})/TestMakefile t-1 -
test/test-02_cache_in_vhost.bash
re24eed68 r33af2b7 1 1 #!/bin/bash 2 make -f TestMakefile t-22 make -f $(dirname ${0})/TestMakefile t-2 -
test/test-03_cachetimeout_in_vhost.bash
re24eed68 r33af2b7 1 1 #!/bin/bash 2 make -f TestMakefile t-32 make -f $(dirname ${0})/TestMakefile t-3 -
test/test-04_basic_nosni.bash
re24eed68 r33af2b7 1 1 #!/bin/bash 2 make -f TestMakefile t-42 make -f $(dirname ${0})/TestMakefile t-4 -
test/test-05_mismatched-priorities.bash
re24eed68 r33af2b7 1 1 #!/bin/bash 2 make -f TestMakefile t-52 make -f $(dirname ${0})/TestMakefile t-5 -
test/test-06_verify_sni_a.bash
re24eed68 r33af2b7 1 1 #!/bin/bash 2 make -f TestMakefile t-62 make -f $(dirname ${0})/TestMakefile t-6 -
test/test-07_verify_sni_b.bash
re24eed68 r33af2b7 1 1 #!/bin/bash 2 make -f TestMakefile t-72 make -f $(dirname ${0})/TestMakefile t-7 -
test/test-08_verify_no_sni_fallback_to_first_vhost.bash
re24eed68 r33af2b7 1 1 #!/bin/bash 2 make -f TestMakefile t-82 make -f $(dirname ${0})/TestMakefile t-8 -
test/test-09_verify_no_sni_fails_with_wrong_order.bash
re24eed68 r33af2b7 1 1 #!/bin/bash 2 make -f TestMakefile t-92 make -f $(dirname ${0})/TestMakefile t-9 -
test/test-10_basic_client_verification.bash
re24eed68 r33af2b7 1 1 #!/bin/bash 2 make -f TestMakefile t-102 make -f $(dirname ${0})/TestMakefile t-10 -
test/test-11_basic_client_verification_fail.bash
re24eed68 r33af2b7 1 1 #!/bin/bash 2 make -f TestMakefile t-112 make -f $(dirname ${0})/TestMakefile t-11 -
test/test-12_cgi_variables.bash
re24eed68 r33af2b7 1 1 #!/bin/bash 2 make -f TestMakefile t-122 make -f $(dirname ${0})/TestMakefile t-12 -
test/test-13_cgi_variables_no_client_cert.bash
re24eed68 r33af2b7 1 1 #!/bin/bash 2 make -f TestMakefile t-132 make -f $(dirname ${0})/TestMakefile t-13 -
test/test-14_basic_openpgp.bash
re24eed68 r33af2b7 1 1 #!/bin/bash 2 make -f TestMakefile t-142 make -f $(dirname ${0})/TestMakefile t-14 -
test/test-15_basic_msva.bash
re24eed68 r33af2b7 1 1 #!/bin/bash 2 USE_MSVA="yes" make -f TestMakefile t-152 USE_MSVA="yes" make -f $(dirname ${0})/TestMakefile t-15 -
test/test-16_view-status.bash
re24eed68 r33af2b7 1 1 #!/bin/bash 2 make -f TestMakefile t-162 make -f $(dirname ${0})/TestMakefile t-16 -
test/test-17_cgi_vars_large_cert.bash
re24eed68 r33af2b7 1 1 #!/bin/bash 2 make -f TestMakefile t-172 make -f $(dirname ${0})/TestMakefile t-17 -
test/test-18_client_verification_wrong_cert.bash
re24eed68 r33af2b7 1 1 #!/bin/bash 2 make -f TestMakefile t-182 make -f $(dirname ${0})/TestMakefile t-18 -
test/test-19_TLS_reverse_proxy.bash
re24eed68 r33af2b7 2 2 3 3 set -e 4 : ${srcdir:="."} 4 5 5 testdir=" ./tests/19_TLS_reverse_proxy"6 . ./proxy_backend.bash6 testdir="${srcdir}/tests/19_TLS_reverse_proxy" 7 . $(dirname ${0})/proxy_backend.bash 7 8 8 9 function stop_backend … … 13 14 trap stop_backend EXIT 14 15 15 make -f TestMakefile t-1916 make -f $(dirname ${0})/TestMakefile t-19 16 17 17 18 backend_apache "${testdir}" "backend.conf" stop -
test/test-20_TLS_reverse_proxy_client_auth.bash
re24eed68 r33af2b7 2 2 3 3 set -e 4 : ${srcdir:="."} 4 5 5 testdir=" ./tests/20_TLS_reverse_proxy_client_auth"6 . ./proxy_backend.bash6 testdir="${srcdir}/tests/20_TLS_reverse_proxy_client_auth" 7 . $(dirname ${0})/proxy_backend.bash 7 8 8 9 function stop_backend … … 13 14 trap stop_backend EXIT 14 15 15 make -f TestMakefile t-2016 make -f $(dirname ${0})/TestMakefile t-20 16 17 17 18 backend_apache "${testdir}" "backend.conf" stop -
test/test-21_TLS_reverse_proxy_wrong_cert.bash
re24eed68 r33af2b7 2 2 3 3 set -e 4 : ${srcdir:="."} 4 5 5 testdir=" ./tests/21_TLS_reverse_proxy_wrong_cert"6 . ./proxy_backend.bash6 testdir="${srcdir}/tests/21_TLS_reverse_proxy_wrong_cert" 7 . $(dirname ${0})/proxy_backend.bash 7 8 8 9 function stop_backend … … 13 14 trap stop_backend EXIT 14 15 15 make -f TestMakefile t-2116 make -f $(dirname ${0})/TestMakefile t-21 16 17 17 18 backend_apache "${testdir}" "backend.conf" stop -
test/test-22_TLS_reverse_proxy_crl_revoke.bash
re24eed68 r33af2b7 2 2 3 3 set -e 4 : ${srcdir:="."} 4 5 5 testdir="./tests/22_TLS_reverse_proxy_crl_revoke" 6 . ./proxy_backend.bash 7 8 # Generate CRL revoking the server certificate. Using it as 9 # GnuTLSProxyCRLFile should cause the connection to the back end 10 # server to fail. 11 certtool --generate-crl \ 12 --load-ca-privkey authority/secret.key \ 13 --load-ca-certificate authority/x509.pem \ 14 --load-certificate server/x509.pem \ 15 --template "${testdir}/crl.template" \ 16 >"${testdir}/crl.pem" 6 testdir="${srcdir}/tests/22_TLS_reverse_proxy_crl_revoke" 7 . $(dirname ${0})/proxy_backend.bash 17 8 18 9 function stop_backend … … 23 14 trap stop_backend EXIT 24 15 25 make -f TestMakefile t-2216 make -f $(dirname ${0})/TestMakefile t-22 26 17 27 18 backend_apache "${testdir}" "backend.conf" stop -
test/test-23_TLS_reverse_proxy_mismatched_priorities.bash
re24eed68 r33af2b7 2 2 3 3 set -e 4 : ${srcdir:="."} 4 5 5 testdir=" ./tests/23_TLS_reverse_proxy_mismatched_priorities"6 . ./proxy_backend.bash6 testdir="${srcdir}/tests/23_TLS_reverse_proxy_mismatched_priorities" 7 . $(dirname ${0})/proxy_backend.bash 7 8 8 9 # This test checks if server and proxy priorities are applied … … 18 19 trap stop_backend EXIT 19 20 20 make -f TestMakefile t-2321 make -f $(dirname ${0})/TestMakefile t-23 21 22 22 23 backend_apache "${testdir}" "backend.conf" stop -
test/test-24_pkcs11_cert.bash
re24eed68 r33af2b7 1 1 #!/bin/bash 2 2 3 testdir="./tests/24_pkcs11_cert" 4 . ./softhsm.bash 3 testdir="$(dirname ${0})/tests/24_pkcs11_cert" 4 5 # The Apache/SoftHSM configuration mixes up directories, so generate a 6 # config file with an absolute path to the token database from a 7 # template. Generating it on every run avoids problems if the source 8 # tree was moved. 9 tmp_softhsm_conf="$(mktemp mod_gnutls_test-XXXXXX.conf)" 10 function cleanup_tmpconf 11 { 12 rm "${tmp_softhsm_conf}" 13 } 14 trap cleanup_tmpconf EXIT 15 16 sed "s,__DIR__,$(realpath $(pwd))," \ 17 "${testdir}/softhsm.conf.in" \ 18 >"${tmp_softhsm_conf}" 19 export SOFTHSM_CONF="${tmp_softhsm_conf}" 20 echo "Generated temporary SoftHSM config ${tmp_softhsm_conf}:" 21 cat "${tmp_softhsm_conf}" 22 23 . $(dirname ${0})/softhsm.bash 5 24 6 25 set -e 7 26 8 make -f TestMakefile t-24 27 make -f $(dirname ${0})/TestMakefile t-24 28 29 cleanup_tmpconf 30 trap - EXIT -
test/tests/00_basic/apache.conf
re24eed68 r33af2b7 1 Include ${ PWD}/../../base_apache.conf1 Include ${srcdir}/base_apache.conf 2 2 3 3 GnuTLSCache dbm cache/gnutls_cache -
test/tests/00_basic/gnutls-cli.args
re24eed68 r33af2b7 1 --x509cafile= ../../authority/x509.pem1 --x509cafile=authority/x509.pem 2 2 --priority=NORMAL -
test/tests/01_serverwide_priorities/apache.conf
re24eed68 r33af2b7 1 Include ${ PWD}/../../base_apache.conf1 Include ${srcdir}/base_apache.conf 2 2 3 3 GnuTLSCache dbm cache/gnutls_cache -
test/tests/01_serverwide_priorities/gnutls-cli.args
re24eed68 r33af2b7 1 --x509cafile= ../../authority/x509.pem1 --x509cafile=authority/x509.pem 2 2 --priority=NORMAL -
test/tests/02_cache_in_vhost/apache.conf
re24eed68 r33af2b7 1 Include ${ PWD}/../../base_apache.conf1 Include ${srcdir}/base_apache.conf 2 2 3 3 <VirtualHost ${TEST_IP}:${TEST_PORT}> -
test/tests/02_cache_in_vhost/gnutls-cli.args
re24eed68 r33af2b7 1 --x509cafile= ../../authority/x509.pem1 --x509cafile=authority/x509.pem 2 2 --priority=NORMAL -
test/tests/03_cachetimeout_in_vhost/apache.conf
re24eed68 r33af2b7 1 Include ${ PWD}/../../base_apache.conf1 Include ${srcdir}/base_apache.conf 2 2 3 3 <VirtualHost ${TEST_IP}:${TEST_PORT}> -
test/tests/03_cachetimeout_in_vhost/gnutls-cli.args
re24eed68 r33af2b7 1 --x509cafile= ../../authority/x509.pem1 --x509cafile=authority/x509.pem 2 2 --priority=NORMAL -
test/tests/04_basic_nosni/apache.conf
re24eed68 r33af2b7 1 Include ${ PWD}/../../base_apache.conf1 Include ${srcdir}/base_apache.conf 2 2 3 3 GnuTLSCache dbm cache/gnutls_cache -
test/tests/04_basic_nosni/gnutls-cli.args
re24eed68 r33af2b7 1 --x509cafile= ../../authority/x509.pem1 --x509cafile=authority/x509.pem 2 2 --priority=NORMAL 3 3 --disable-extensions -
test/tests/05_mismatched-priorities/apache.conf
re24eed68 r33af2b7 1 Include ${ PWD}/../../base_apache.conf1 Include ${srcdir}/base_apache.conf 2 2 3 3 GnuTLSCache dbm cache/gnutls_cache -
test/tests/05_mismatched-priorities/gnutls-cli.args
re24eed68 r33af2b7 1 --x509cafile= ../../authority/x509.pem1 --x509cafile=authority/x509.pem 2 2 --priority=NORMAL:-VERS-TLS-ALL:+VERS-SSL3.0 -
test/tests/06_verify_sni_a/apache.conf
re24eed68 r33af2b7 1 Include ${ PWD}/../../base_apache.conf1 Include ${srcdir}/base_apache.conf 2 2 3 3 GnuTLSCache dbm cache/gnutls_cache -
test/tests/06_verify_sni_a/gnutls-cli.args
re24eed68 r33af2b7 1 --x509cafile= ../../authority/x509.pem1 --x509cafile=authority/x509.pem 2 2 --priority=NORMAL -
test/tests/07_verify_sni_b/apache.conf
re24eed68 r33af2b7 1 Include ${ PWD}/../../base_apache.conf1 Include ${srcdir}/base_apache.conf 2 2 3 3 GnuTLSCache dbm cache/gnutls_cache -
test/tests/07_verify_sni_b/gnutls-cli.args
re24eed68 r33af2b7 1 --x509cafile= ../../authority/x509.pem1 --x509cafile=authority/x509.pem 2 2 --priority=NORMAL -
test/tests/08_verify_no_sni_fallback_to_first_vhost/apache.conf
re24eed68 r33af2b7 1 Include ${ PWD}/../../base_apache.conf1 Include ${srcdir}/base_apache.conf 2 2 3 3 GnuTLSCache dbm cache/gnutls_cache -
test/tests/08_verify_no_sni_fallback_to_first_vhost/gnutls-cli.args
re24eed68 r33af2b7 1 1 --disable-extensions 2 --x509cafile= ../../authority/x509.pem2 --x509cafile=authority/x509.pem 3 3 --priority=NORMAL -
test/tests/09_verify_no_sni_fails_with_wrong_order/apache.conf
re24eed68 r33af2b7 1 Include ${ PWD}/../../base_apache.conf1 Include ${srcdir}/base_apache.conf 2 2 3 3 GnuTLSCache dbm cache/gnutls_cache -
test/tests/09_verify_no_sni_fails_with_wrong_order/gnutls-cli.args
re24eed68 r33af2b7 1 1 --disable-extensions 2 --x509cafile= ../../authority/x509.pem2 --x509cafile=authority/x509.pem 3 3 --priority=NORMAL -
test/tests/10_basic_client_verification/apache.conf
re24eed68 r33af2b7 1 Include ${ PWD}/../../base_apache.conf1 Include ${srcdir}/base_apache.conf 2 2 3 3 GnuTLSCache dbm cache/gnutls_cache -
test/tests/10_basic_client_verification/gnutls-cli.args
re24eed68 r33af2b7 1 --x509certfile= ../../client/x509.pem2 --x509keyfile= ../../client/secret.key3 --x509cafile= ../../authority/x509.pem1 --x509certfile=client/x509.pem 2 --x509keyfile=client/secret.key 3 --x509cafile=authority/x509.pem 4 4 --priority=NORMAL -
test/tests/11_basic_client_verification_fail/apache.conf
re24eed68 r33af2b7 1 Include ${ PWD}/../../base_apache.conf1 Include ${srcdir}/base_apache.conf 2 2 3 3 GnuTLSCache dbm cache/gnutls_cache -
test/tests/11_basic_client_verification_fail/gnutls-cli.args
re24eed68 r33af2b7 1 --x509cafile= ../../authority/x509.pem1 --x509cafile=authority/x509.pem 2 2 --priority=NORMAL -
test/tests/12_cgi_variables/apache.conf
re24eed68 r33af2b7 1 Include ${ PWD}/../../base_apache.conf1 Include ${srcdir}/base_apache.conf 2 2 3 3 LoadModule cgi_module /usr/lib/apache2/modules/mod_cgi.so … … 7 7 GnuTLSCache dbm cache/gnutls_cache 8 8 9 <Directory ${ PWD}/../../data>9 <Directory ${srcdir}/data> 10 10 Options +ExecCGI 11 11 </Directory> -
test/tests/12_cgi_variables/gnutls-cli.args
re24eed68 r33af2b7 1 --x509certfile= ../../client/x509.pem2 --x509keyfile= ../../client/secret.key3 --x509cafile= ../../authority/x509.pem1 --x509certfile=client/x509.pem 2 --x509keyfile=client/secret.key 3 --x509cafile=authority/x509.pem 4 4 --priority=NORMAL:-KX-ALL:+DHE-RSA -
test/tests/13_cgi_variables_no_client_cert/apache.conf
re24eed68 r33af2b7 1 Include ${ PWD}/../../base_apache.conf1 Include ${srcdir}/base_apache.conf 2 2 3 3 LoadModule cgi_module /usr/lib/apache2/modules/mod_cgi.so … … 7 7 GnuTLSCache dbm cache/gnutls_cache 8 8 9 <Directory ${ PWD}/../../data>9 <Directory ${srcdir}/data> 10 10 Options +ExecCGI 11 11 </Directory> -
test/tests/13_cgi_variables_no_client_cert/gnutls-cli.args
re24eed68 r33af2b7 1 --x509cafile= ../../authority/x509.pem1 --x509cafile=authority/x509.pem 2 2 --priority=NORMAL -
test/tests/14_basic_openpgp/apache.conf
re24eed68 r33af2b7 1 Include ${ PWD}/../../base_apache.conf1 Include ${srcdir}/base_apache.conf 2 2 3 3 GnuTLSCache dbm cache/gnutls_cache -
test/tests/14_basic_openpgp/gnutls-cli.args
re24eed68 r33af2b7 1 --pgpkeyring= ../../authority/cert.pgp1 --pgpkeyring=authority/cert.pgp 2 2 --priority=NORMAL:-CTYPE-X509:+CTYPE-OPENPGP:+CTYPE-X509 -
test/tests/15_basic_msva/apache.conf
re24eed68 r33af2b7 1 Include ${ PWD}/../../base_apache.conf1 Include ${srcdir}/base_apache.conf 2 2 3 3 GnuTLSCache dbm cache/gnutls_cache -
test/tests/15_basic_msva/gnutls-cli.args
re24eed68 r33af2b7 1 --x509certfile= ../../client/x509.pem2 --x509keyfile= ../../client/secret.key3 --x509cafile= ../../authority/x509.pem1 --x509certfile=client/x509.pem 2 --x509keyfile=client/secret.key 3 --x509cafile=authority/x509.pem 4 4 --priority=NORMAL -
test/tests/16_view-status/apache.conf
re24eed68 r33af2b7 1 Include ${ PWD}/../../base_apache.conf1 Include ${srcdir}/base_apache.conf 2 2 3 3 LoadModule status_module /usr/lib/apache2/modules/mod_status.so -
test/tests/16_view-status/gnutls-cli.args
re24eed68 r33af2b7 1 --x509cafile= ../../authority/x509.pem1 --x509cafile=authority/x509.pem 2 2 --priority=NONE:+VERS-TLS1.0:+AES-128-CBC:+SHA1:+RSA:+COMP-NULL -
test/tests/17_cgi_vars_large_cert/apache.conf
re24eed68 r33af2b7 1 Include ${ PWD}/../../base_apache.conf1 Include ${srcdir}/base_apache.conf 2 2 3 3 LoadModule cgi_module /usr/lib/apache2/modules/mod_cgi.so … … 7 7 GnuTLSCache dbm cache/gnutls_cache 8 8 9 <Directory ${ PWD}/../../data>9 <Directory ${srcdir}/data> 10 10 Options +ExecCGI 11 11 </Directory> -
test/tests/17_cgi_vars_large_cert/gnutls-cli.args
re24eed68 r33af2b7 1 --x509certfile= ../../client/x509.pem2 --x509keyfile= ../../client/secret.key3 --x509cafile= ../../authority/x509.pem1 --x509certfile=client/x509.pem 2 --x509keyfile=client/secret.key 3 --x509cafile=authority/x509.pem 4 4 --priority=NORMAL:-KX-ALL:+DHE-RSA -
test/tests/18_client_verification_wrong_cert/apache.conf
re24eed68 r33af2b7 1 Include ${ PWD}/../../base_apache.conf1 Include ${srcdir}/base_apache.conf 2 2 3 3 GnuTLSCache dbm cache/gnutls_cache -
test/tests/18_client_verification_wrong_cert/gnutls-cli.args
re24eed68 r33af2b7 1 --x509certfile= ../../rogueca/x509.pem2 --x509keyfile= ../../rogueca/secret.key3 --x509cafile= ../../authority/x509.pem1 --x509certfile=rogueca/x509.pem 2 --x509keyfile=rogueca/secret.key 3 --x509cafile=authority/x509.pem 4 4 --priority=NORMAL -
test/tests/19_TLS_reverse_proxy/apache.conf
re24eed68 r33af2b7 1 Include ${ PWD}/../../base_apache.conf1 Include ${srcdir}/base_apache.conf 2 2 3 3 GnuTLSCache dbm cache/gnutls_cache -
test/tests/19_TLS_reverse_proxy/backend.conf
re24eed68 r33af2b7 1 Include ${ PWD}/../../base_apache.conf1 Include ${srcdir}/base_apache.conf 2 2 3 3 CustomLog logs/${TEST_NAME}.backend.access.log combined -
test/tests/19_TLS_reverse_proxy/gnutls-cli.args
re24eed68 r33af2b7 1 --x509cafile= ../../authority/x509.pem1 --x509cafile=authority/x509.pem 2 2 --priority=NORMAL -
test/tests/20_TLS_reverse_proxy_client_auth/apache.conf
re24eed68 r33af2b7 1 Include ${ PWD}/../../base_apache.conf1 Include ${srcdir}/base_apache.conf 2 2 3 3 GnuTLSCache dbm cache/gnutls_cache -
test/tests/20_TLS_reverse_proxy_client_auth/backend.conf
re24eed68 r33af2b7 1 Include ${ PWD}/../../base_apache.conf1 Include ${srcdir}/base_apache.conf 2 2 3 3 CustomLog logs/${TEST_NAME}.backend.access.log combined -
test/tests/20_TLS_reverse_proxy_client_auth/gnutls-cli.args
re24eed68 r33af2b7 1 --x509cafile= ../../authority/x509.pem1 --x509cafile=authority/x509.pem 2 2 --priority=NORMAL -
test/tests/21_TLS_reverse_proxy_wrong_cert/apache.conf
re24eed68 r33af2b7 1 Include ${ PWD}/../../base_apache.conf1 Include ${srcdir}/base_apache.conf 2 2 3 3 GnuTLSCache dbm cache/gnutls_cache -
test/tests/21_TLS_reverse_proxy_wrong_cert/backend.conf
re24eed68 r33af2b7 1 Include ${ PWD}/../../base_apache.conf1 Include ${srcdir}/base_apache.conf 2 2 3 3 CustomLog logs/${TEST_NAME}.backend.access.log combined -
test/tests/21_TLS_reverse_proxy_wrong_cert/gnutls-cli.args
re24eed68 r33af2b7 1 --x509cafile= ../../authority/x509.pem1 --x509cafile=authority/x509.pem 2 2 --priority=NORMAL -
test/tests/22_TLS_reverse_proxy_crl_revoke/apache.conf
re24eed68 r33af2b7 1 Include ${ PWD}/../../base_apache.conf1 Include ${srcdir}/base_apache.conf 2 2 3 3 GnuTLSCache dbm cache/gnutls_cache … … 15 15 SSLProxyEngine On 16 16 GnuTLSProxyCAFile authority/x509.pem 17 GnuTLSProxyCRLFile ${PWD}/crl.pem17 GnuTLSProxyCRLFile server/crl.pem 18 18 GnuTLSProxyPriorities NORMAL 19 19 ProxyPass /proxy/ https://${BACKEND_HOST}:${BACKEND_PORT}/ -
test/tests/22_TLS_reverse_proxy_crl_revoke/backend.conf
re24eed68 r33af2b7 1 Include ${ PWD}/../../base_apache.conf1 Include ${srcdir}/base_apache.conf 2 2 3 3 CustomLog logs/${TEST_NAME}.backend.access.log combined -
test/tests/22_TLS_reverse_proxy_crl_revoke/gnutls-cli.args
re24eed68 r33af2b7 1 --x509cafile= ../../authority/x509.pem1 --x509cafile=authority/x509.pem 2 2 --priority=NORMAL -
test/tests/23_TLS_reverse_proxy_mismatched_priorities/apache.conf
re24eed68 r33af2b7 1 Include ${ PWD}/../../base_apache.conf1 Include ${srcdir}/base_apache.conf 2 2 3 3 GnuTLSCache dbm cache/gnutls_cache -
test/tests/23_TLS_reverse_proxy_mismatched_priorities/backend.conf
re24eed68 r33af2b7 1 Include ${ PWD}/../../base_apache.conf1 Include ${srcdir}/base_apache.conf 2 2 3 3 CustomLog logs/${TEST_NAME}.backend.access.log combined -
test/tests/23_TLS_reverse_proxy_mismatched_priorities/gnutls-cli.args
re24eed68 r33af2b7 1 --x509cafile= ../../authority/x509.pem1 --x509cafile=authority/x509.pem 2 2 --priority=NORMAL -
test/tests/24_pkcs11_cert/apache.conf
re24eed68 r33af2b7 1 Include ${ PWD}/../../base_apache.conf1 Include ${srcdir}/base_apache.conf 2 2 3 3 GnuTLSCache dbm cache/gnutls_cache -
test/tests/24_pkcs11_cert/gnutls-cli.args
re24eed68 r33af2b7 1 --x509cafile= ../../authority/x509.pem1 --x509cafile=authority/x509.pem 2 2 --priority=NORMAL -
test/tests/24_pkcs11_cert/softhsm.conf.in
re24eed68 r33af2b7 1 0:__DIR__/ ../../server/softhsm.db1 0:__DIR__/server/softhsm.db
Note: See TracChangeset
for help on using the changeset viewer.