summaryrefslogtreecommitdiff
path: root/test/scripts/5665-OCSP-GnuTLS-multileaf
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2019-10-20 17:32:42 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2019-10-20 18:06:33 +0100
commit6b3d0ff488b18ebe6b54b70026431ff8e14ba6db (patch)
treeceb0c22be488f68bab449f1b414ff825adecacf4 /test/scripts/5665-OCSP-GnuTLS-multileaf
parent97277c1f835e749bf06aea2e16922fc234470034 (diff)
Tetsuite: feature-check multileaf OCSP testcases
Diffstat (limited to 'test/scripts/5665-OCSP-GnuTLS-multileaf')
-rw-r--r--test/scripts/5665-OCSP-GnuTLS-multileaf/566531
-rw-r--r--test/scripts/5665-OCSP-GnuTLS-multileaf/REQUIRES4
2 files changed, 35 insertions, 0 deletions
diff --git a/test/scripts/5665-OCSP-GnuTLS-multileaf/5665 b/test/scripts/5665-OCSP-GnuTLS-multileaf/5665
new file mode 100644
index 000000000..07fda294c
--- /dev/null
+++ b/test/scripts/5665-OCSP-GnuTLS-multileaf/5665
@@ -0,0 +1,31 @@
+# OCSP stapling, server, multiple leaf-certs
+#
+#
+#
+exim -z '1: Server sends good staple on request, to client requiring RSA auth'
+****
+#
+exim -bd -oX PORT_D -DSERVER=server
+****
+exim -odf -DSELECTOR=auth_rsa rsa.auth@test.ex
+Subject: test
+
+.
+****
+killdaemon
+#
+#
+#
+#
+exim -z '2: Server sends good staple on request, to client preferring ECDSA auth'
+****
+#
+exim -bd -oX PORT_D -DSERVER=server
+****
+exim -odf -DSELECTOR=auth_ecdsa ecdsa.auth@test.ex
+Subject: test
+
+.
+****
+killdaemon
+no_msglog_check
diff --git a/test/scripts/5665-OCSP-GnuTLS-multileaf/REQUIRES b/test/scripts/5665-OCSP-GnuTLS-multileaf/REQUIRES
new file mode 100644
index 000000000..37e377db0
--- /dev/null
+++ b/test/scripts/5665-OCSP-GnuTLS-multileaf/REQUIRES
@@ -0,0 +1,4 @@
+support GnuTLS
+support OCSP
+running IPv4
+feature _HAVE_TLS_OCSP_LIST