Commit | Line | Data |
---|---|---|
2b4a568d JH |
1 | # OCSP stapling, client |
2 | # | |
3 | # | |
44662487 | 4 | # Client works when we request but don't require OCSP stapling and none comes |
2b4a568d JH |
5 | exim -bd -oX PORT_D -DSERVER=server -DOCSP="" |
6 | **** | |
44662487 | 7 | exim norequire@test.ex |
2b4a568d JH |
8 | test message. |
9 | **** | |
10 | sleep 1 | |
11 | killdaemon | |
12 | # | |
13 | # | |
14 | # | |
15 | # | |
44662487 | 16 | # Client works when we don't request OCSP stapling |
2b4a568d JH |
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 | **** | |
44662487 JH |
20 | exim nostaple@test.ex |
21 | test message. | |
22 | **** | |
23 | # | |
24 | # | |
25 | # | |
26 | # | |
27 | # Client accepts good stapled info | |
2b4a568d JH |
28 | exim CALLER@test.ex |
29 | test message. | |
30 | **** | |
31 | sleep 1 | |
32 | killdaemon | |
33 | # | |
34 | # | |
35 | # | |
44662487 | 36 | # Client fails on lack of required stapled info |
2b4a568d JH |
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 | # |