summaryrefslogtreecommitdiff
path: root/test/scripts/5650-OCSP-GnuTLS
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2017-12-03 22:40:43 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2017-12-03 23:54:35 +0000
commit47195144861c416c402191b697c5d3d489b1dcb2 (patch)
tree9e87161cc3af23f7377b914732d05f0f1f8fca42 /test/scripts/5650-OCSP-GnuTLS
parent4e0c20cbdc94f1e7da2476916c7fe90a2e034806 (diff)
GnuTLS: multiple server certs, OCSP stapling. Bug 2092
Diffstat (limited to 'test/scripts/5650-OCSP-GnuTLS')
-rw-r--r--test/scripts/5650-OCSP-GnuTLS/565237
1 files changed, 37 insertions, 0 deletions
diff --git a/test/scripts/5650-OCSP-GnuTLS/5652 b/test/scripts/5650-OCSP-GnuTLS/5652
new file mode 100644
index 000000000..4a33ea862
--- /dev/null
+++ b/test/scripts/5650-OCSP-GnuTLS/5652
@@ -0,0 +1,37 @@
+# OCSP stapling, server, multiple certs
+#
+#
+#
+exim -z '1: Server sends good staple on request, to client requiring RSA auth'
+****
+#
+exim -bd -oX PORT_D -DSERVER=server
+****
+exim -odf \
+ -DOPT=NONE:+SIGN-RSA-SHA256:+VERS-TLS-ALL:+ECDHE-RSA:+DHE-RSA:+RSA:+CIPHER-ALL:+MAC-ALL:+COMP-NULL:+CURVE-ALL:+CTYPE-X509 \
+ -DCERT=DIR/aux-fixed/exim-ca/example.com/server1.example.com/ca_chain.pem \
+ 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 \
+ -DOPT=NONE:+SIGN-ECDSA-SHA512:+VERS-TLS-ALL:+KX-ALL:+CIPHER-ALL:+MAC-ALL:+COMP-NULL:+CURVE-ALL:+CTYPE-X509 \
+ -DCERT=DIR/aux-fixed/exim-ca/example_ec.com/server1.example_ec.com/ca_chain.pem \
+ ecdsa.auth@test.ex
+Subject: test
+
+.
+****
+killdaemon
+no_msglog_check