Reduce space used by flags in smtp transport
[exim.git] / test / scripts / 5650-OCSP-GnuTLS / 5651
CommitLineData
2b4a568d
JH
1# OCSP stapling, client
2#
3#
44662487 4# Client works when we request but don't require OCSP stapling and none comes
0a6583ae 5exim -bd -oX PORT_D -DSERVER=server -DOPT=""
2b4a568d 6****
44662487 7exim norequire@test.ex
2b4a568d
JH
8test message.
9****
10sleep 1
11killdaemon
12#
13#
14#
15#
44662487 16# Client works when we don't request OCSP stapling
2b4a568d 17exim -bd -oX PORT_D -DSERVER=server \
0a6583ae 18 -DOPT=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.good.resp
2b4a568d 19****
44662487
JH
20exim nostaple@test.ex
21test message.
22****
2381c830 23millisleep 500
44662487
JH
24#
25#
26#
27#
28# Client accepts good stapled info
2b4a568d
JH
29exim CALLER@test.ex
30test message.
31****
32sleep 1
33killdaemon
34#
35#
36#
44662487 37# Client fails on lack of required stapled info
0a6583ae 38exim -bd -oX PORT_D -DSERVER=server -DOPT=""
2b4a568d
JH
39****
40exim CALLER@test.ex
41test message.
42****
43sleep 1
44killdaemon
45no_msglog_check
46#
47#
48#
49# Client fails on revoked stapled info
59a286ef 50sudo rm DIR/spool/db/retry
2b4a568d 51EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK=y exim -bd -oX PORT_D -DSERVER=server \
0a6583ae 52 -DOPT=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.revoked.resp
2b4a568d
JH
53****
54exim CALLER@test.ex
55test message.
56****
57sleep 1
58killdaemon
59#
60#
61#
62#
63# Client fails on expired stapled info
59a286ef 64sudo rm DIR/spool/db/retry
2b4a568d 65EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK=y exim -bd -oX PORT_D -DSERVER=server \
0a6583ae 66 -DOPT=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.dated.resp
2b4a568d
JH
67****
68exim CALLER@test.ex
69test message.
70****
71sleep 1
72killdaemon
73#
74#
75#
76#