Commit | Line | Data |
---|---|---|
2b4a568d JH |
1 | # OCSP stapling, server |
2 | # | |
3 | # | |
4 | # | |
98716abe JH |
5 | exim -z '1: Server sends good staple on request' |
6 | **** | |
7 | # | |
2b4a568d | 8 | exim -bd -oX PORT_D -DSERVER=server \ |
8ac90765 | 9 | -DOPTION=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.good.resp |
2b4a568d JH |
10 | **** |
11 | client-gnutls \ | |
12 | -ocsp aux-fixed/exim-ca/example.com/server1.example.com/ca_chain.pem \ | |
13 | HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2 | |
14 | ??? 220 | |
15 | ehlo rhu.barb | |
16 | ??? 250- | |
17 | ??? 250- | |
18 | ??? 250- | |
19 | ??? 250- | |
20 | ??? 250- | |
21 | ??? 250 | |
22 | starttls | |
23 | ??? 220 | |
24 | mail from:<userx@test.ex> | |
25 | ??? 250 | |
26 | rcpt to:<userx@test.ex> | |
27 | ??? 250 | |
28 | quit | |
29 | ??? 221 | |
30 | **** | |
31 | killdaemon | |
32 | # | |
33 | # | |
34 | # | |
98716abe JH |
35 | exim -z '2: Server does not staple an outdated response' |
36 | **** | |
37 | # | |
2b4a568d | 38 | exim -bd -oX PORT_D -DSERVER=server \ |
8ac90765 | 39 | -DOPTION=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.dated.resp |
2b4a568d | 40 | **** |
2b4a568d JH |
41 | client-gnutls -ocsp aux-fixed/exim-ca/expired1.example.com/CA.pem HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2 |
42 | ??? 220 | |
43 | ehlo rhu.barb | |
44 | ??? 250- | |
45 | ??? 250- | |
46 | ??? 250- | |
47 | ??? 250- | |
48 | ??? 250- | |
49 | ??? 250 | |
50 | starttls | |
e5489333 | 51 | ??? 454 |
2b4a568d JH |
52 | **** |
53 | killdaemon | |
54 | # | |
55 | # | |
56 | # | |
57 | # | |
58 | # | |
98716abe JH |
59 | exim -z '3: Server does not staple a response for a revoked cert' |
60 | **** | |
61 | # | |
2b4a568d | 62 | exim -bd -oX PORT_D -DSERVER=server \ |
8ac90765 | 63 | -DOPTION=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.revoked.resp |
2b4a568d JH |
64 | **** |
65 | client-gnutls \ | |
66 | -ocsp aux-fixed/exim-ca/example.com/server1.example.com/ca_chain.pem \ | |
67 | HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2 | |
68 | ??? 220 | |
69 | ehlo rhu.barb | |
70 | ??? 250- | |
71 | ??? 250- | |
72 | ??? 250- | |
73 | ??? 250- | |
74 | ??? 250- | |
75 | ??? 250 | |
76 | starttls | |
e5489333 | 77 | ??? 454 |
2b4a568d JH |
78 | **** |
79 | killdaemon | |
80 | # | |
81 | # | |
82 | # | |
83 | # | |
84 | # | |
98716abe JH |
85 | exim -z '4: Connection functions when server is prepared to staple but client does not request it' |
86 | **** | |
87 | # | |
88 | exim -bd -oX PORT_D -DSERVER=server \ | |
8ac90765 | 89 | -DOPTION=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.good.resp |
98716abe JH |
90 | **** |
91 | # | |
0886a95e | 92 | client-gnutls \ |
98716abe JH |
93 | HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2 |
94 | ??? 220 | |
95 | ehlo rhu.barb | |
96 | ??? 250- | |
97 | ??? 250- | |
98 | ??? 250- | |
99 | ??? 250- | |
100 | ??? 250- | |
101 | ??? 250 | |
102 | starttls | |
103 | ??? 220 | |
104 | ehlo rhu.barb.tls | |
105 | ??? 250- | |
106 | ??? 250- | |
107 | ??? 250- | |
108 | ??? 250- | |
109 | ??? 250 | |
110 | quit | |
111 | **** | |
112 | killdaemon | |
113 | # | |
114 | # | |
115 | # | |
116 | # | |
117 | # |