OCSP observability: variables $tls_{in,out}_ocsp
[exim.git] / test / scripts / 5650-OCSP-GnuTLS / 5651
1 # OCSP stapling, client
2 #
3 #
4 # Client works when we request but don't require OCSP stapling and none comes
5 exim -bd -oX PORT_D -DSERVER=server -DOCSP=""
6 ****
7 exim norequire@test.ex
8 test message.
9 ****
10 sleep 1
11 killdaemon
12 #
13 #
14 #
15 #
16 # Client works when we don't request OCSP stapling
17 exim -bd -oX PORT_D -DSERVER=server \
18  -DOCSP=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.good.resp
19 ****
20 exim nostaple@test.ex
21 test message.
22 ****
23 #
24 #
25 #
26 #
27 # Client accepts good stapled info
28 exim CALLER@test.ex
29 test message.
30 ****
31 sleep 1
32 killdaemon
33 #
34 #
35 #
36 # Client fails on lack of required stapled info
37 exim -bd -oX PORT_D -DSERVER=server -DOCSP=""
38 ****
39 exim CALLER@test.ex
40 test message.
41 ****
42 sleep 1
43 killdaemon
44 no_msglog_check
45 #
46 #
47 #
48 # Client fails on revoked stapled info
49 EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK=y exim -bd -oX PORT_D -DSERVER=server \
50  -DOCSP=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.revoked.resp
51 ****
52 exim CALLER@test.ex
53 test message.
54 ****
55 sleep 1
56 killdaemon
57 #
58 #
59 #
60 #
61 # Client fails on expired stapled info
62 EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK=y exim -bd -oX PORT_D -DSERVER=server \
63  -DOCSP=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.dated.resp
64 ****
65 exim CALLER@test.ex
66 test message.
67 ****
68 sleep 1
69 killdaemon
70 #
71 #
72 #
73 #