Truncate delay when peer closes connection. Bug 348
[exim.git] / test / scripts / 2100-OpenSSL / 2114
CommitLineData
59371ea7
PH
1# TLS server: mandatory, optional, and revoked certificates
2exim -DSERVER=server -bd -oX PORT_D
3****
4# No certificate, certificate required
5client-ssl HOSTIPV4 PORT_D
6??? 220
7ehlo rhu.barb
8??? 250-
9??? 250-
10??? 250-
11??? 250-
5b456975 12??? 250-
59371ea7
PH
13??? 250
14starttls
15??? 220
16****
17# No certificate, certificate optional at TLS time, required by ACL
18client-ssl 127.0.0.1 PORT_D
19??? 220
20ehlo rhu.barb
21??? 250-
22??? 250-
23??? 250-
24??? 250-
5b456975 25??? 250-
59371ea7
PH
26??? 250
27starttls
28??? 220
29helo rhu.barb
30??? 250
31mail from:<userx@test.ex>
32??? 250
33rcpt to:<userx@test.ex>
34??? 550
35quit
36??? 221
37****
38# Good certificate, certificate required
39client-ssl HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2
40??? 220
41ehlo rhu.barb
42??? 250-
43??? 250-
44??? 250-
45??? 250-
5b456975 46??? 250-
59371ea7
PH
47??? 250
48starttls
49??? 220
50mail from:<userx@test.ex>
51??? 250
52rcpt to:<userx@test.ex>
53??? 250
54quit
55??? 221
56****
57# Good certificate, certificate optional at TLS time, checked by ACL
58client-ssl 127.0.0.1 PORT_D aux-fixed/cert2 aux-fixed/cert2
59??? 220
60ehlo rhu.barb
61??? 250-
62??? 250-
63??? 250-
64??? 250-
5b456975 65??? 250-
59371ea7
PH
66??? 250
67starttls
68??? 220
69mail from:<userx@test.ex>
70??? 250
71rcpt to:<userx@test.ex>
72??? 250
73quit
74??? 221
75****
76# Bad certificate, certificate required
77client-ssl HOSTIPV4 PORT_D aux-fixed/cert1 aux-fixed/cert1
78??? 220
79ehlo rhu.barb
80??? 250-
81??? 250-
82??? 250-
83??? 250-
5b456975 84??? 250-
59371ea7
PH
85??? 250
86starttls
87??? 220
88****
89# Bad certificate, certificate optional at TLS time, reject at ACL time
90client-ssl 127.0.0.1 PORT_D aux-fixed/cert1 aux-fixed/cert1
91??? 220
92ehlo rhu.barb
93??? 250-
94??? 250-
95??? 250-
96??? 250-
5b456975 97??? 250-
59371ea7
PH
98??? 250
99starttls
100??? 220
101mail from:<userx@test.ex>
102??? 250
103rcpt to:<userx@test.ex>
104??? 550-
105??? 550
106quit
107??? 221
108****
109killdaemon
110exim -DCRL=DIR/aux-fixed/crl.pem -DSERVER=server -bd -oX PORT_D
111****
112# Good but revoked certificate, certificate required
113client-ssl HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2
114??? 220
115ehlo rhu.barb
116??? 250-
117??? 250-
118??? 250-
119??? 250-
5b456975 120??? 250-
59371ea7
PH
121??? 250
122starttls
123??? 220
124****
125# Revoked certificate, certificate optional at TLS time, reject at ACL time
126client-ssl 127.0.0.1 PORT_D aux-fixed/cert1 aux-fixed/cert1
127??? 220
128ehlo rhu.barb
129??? 250-
130??? 250-
131??? 250-
132??? 250-
5b456975 133??? 250-
59371ea7
PH
134??? 250
135starttls
136??? 220
137mail from:<userx@test.ex>
138??? 250
139rcpt to:<userx@test.ex>
140??? 550-
141??? 550
142quit
143??? 221
144****
145killdaemon