git://git.exim.org
/
users
/
jgh
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Testsuite: force RSA auth for testcase loading dual certs
[users/jgh/exim.git]
/
test
/
scripts
/
5650-OCSP-GnuTLS
/
5651
diff --git
a/test/scripts/5650-OCSP-GnuTLS/5651
b/test/scripts/5650-OCSP-GnuTLS/5651
index f5432be19b8fe0c46a3a6c027a10e7de344c7385..dbf80229837b42956ddd956867ea865ebfe3ee7a 100644
(file)
--- a/
test/scripts/5650-OCSP-GnuTLS/5651
+++ b/
test/scripts/5650-OCSP-GnuTLS/5651
@@
-1,10
+1,10
@@
# OCSP stapling, client
#
#
# OCSP stapling, client
#
#
-# Client works when we
don't demand OCSP stapling
-exim -bd -oX PORT_D -DSERVER=server -DO
CSP
=""
+# Client works when we
request but don't require OCSP stapling and none comes
+exim -bd -oX PORT_D -DSERVER=server -DO
PT
=""
****
****
-exim no
stapl
e@test.ex
+exim no
requir
e@test.ex
test message.
****
sleep 1
test message.
****
sleep 1
@@
-13,10
+13,19
@@
killdaemon
#
#
#
#
#
#
-# Client
accepts good stapled info
+# Client
works when we don't request OCSP stapling
exim -bd -oX PORT_D -DSERVER=server \
exim -bd -oX PORT_D -DSERVER=server \
- -DOCSP=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.good.resp
+ -DOPT=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.good.resp
+****
+exim nostaple@test.ex
+test message.
****
****
+millisleep 500
+#
+#
+#
+#
+# Client accepts good stapled info
exim CALLER@test.ex
test message.
****
exim CALLER@test.ex
test message.
****
@@
-25,8
+34,8
@@
killdaemon
#
#
#
#
#
#
-# Client fails on lack of requ
est
ed stapled info
-exim -bd -oX PORT_D -DSERVER=server -DO
CSP
=""
+# Client fails on lack of requ
ir
ed stapled info
+exim -bd -oX PORT_D -DSERVER=server -DO
PT
=""
****
exim CALLER@test.ex
test message.
****
exim CALLER@test.ex
test message.
@@
-38,8
+47,9
@@
no_msglog_check
#
#
# Client fails on revoked stapled info
#
#
# Client fails on revoked stapled info
+sudo rm DIR/spool/db/retry
EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK=y exim -bd -oX PORT_D -DSERVER=server \
EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK=y exim -bd -oX PORT_D -DSERVER=server \
- -DO
CSP
=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.revoked.resp
+ -DO
PT
=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.revoked.resp
****
exim CALLER@test.ex
test message.
****
exim CALLER@test.ex
test message.
@@
-51,8
+61,9
@@
killdaemon
#
#
# Client fails on expired stapled info
#
#
# Client fails on expired stapled info
+sudo rm DIR/spool/db/retry
EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK=y exim -bd -oX PORT_D -DSERVER=server \
EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK=y exim -bd -oX PORT_D -DSERVER=server \
- -DO
CSP
=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.dated.resp
+ -DO
PT
=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.dated.resp
****
exim CALLER@test.ex
test message.
****
exim CALLER@test.ex
test message.