Tetsuite: feature-check multileaf OCSP testcases
[exim.git] / test / scripts / 5612-OCSP-OpenSSL-multileaf / 5612
diff --git a/test/scripts/5612-OCSP-OpenSSL-multileaf/5612 b/test/scripts/5612-OCSP-OpenSSL-multileaf/5612
new file mode 100644 (file)
index 0000000..02c27ce
--- /dev/null
@@ -0,0 +1,32 @@
+# OCSP stapling, server, multiple leaf-certs
+# This will fail on OpenSSL versions before 1.1.0
+#
+#
+#
+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