Testsuite: make "client" util TLS variants more similar
[exim.git] / test / stdout / 2114
CommitLineData
dc9c8f8b 1### No certificate, certificate required
54c5ebb1
PH
2Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected
3??? 220
4<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
5>>> ehlo rhu.barb
6??? 250-
7<<< 250-myhost.test.ex Hello rhu.barb [ip4.ip4.ip4.ip4]
8??? 250-
9<<< 250-SIZE 52428800
10??? 250-
5b456975
JH
11<<< 250-8BITMIME
12??? 250-
54c5ebb1
PH
13<<< 250-PIPELINING
14??? 250-
15<<< 250-STARTTLS
16??? 250
17<<< 250 HELP
18>>> starttls
19??? 220
20<<< 220 TLS go ahead
21Attempting to start TLS
12373afb 22pppp:error:dddddddd:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:[...]:SSL alert number 40
54c5ebb1 23Failed to start TLS
ce80533b 24>>> noop
90788405
JH
25????554 Security failure
26>>> noop
ce80533b
JH
27??? 554 Security failure
28<<< 554 Security failure
29>>> quit
30????554 Security failure
90788405 31????221
ce80533b
JH
32???*
33Expected EOF read
54c5ebb1 34End of script
dc9c8f8b 35### No certificate, certificate optional at TLS time, required by ACL
54c5ebb1
PH
36Connecting to 127.0.0.1 port 1225 ... connected
37??? 220
38<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
39>>> ehlo rhu.barb
40??? 250-
41<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1]
42??? 250-
43<<< 250-SIZE 52428800
44??? 250-
5b456975
JH
45<<< 250-8BITMIME
46??? 250-
54c5ebb1
PH
47<<< 250-PIPELINING
48??? 250-
49<<< 250-STARTTLS
50??? 250
51<<< 250 HELP
52>>> starttls
53??? 220
54<<< 220 TLS go ahead
55Attempting to start TLS
54c5ebb1
PH
56Succeeded in starting TLS
57>>> helo rhu.barb
58??? 250
59<<< 250 myhost.test.ex Hello rhu.barb [127.0.0.1]
60>>> mail from:<userx@test.ex>
61??? 250
62<<< 250 OK
63>>> rcpt to:<userx@test.ex>
64??? 550
65<<< 550 certificate not verified: peerdn=
66>>> quit
67??? 221
68<<< 221 myhost.test.ex closing connection
69End of script
dc9c8f8b 70### Good certificate, certificate required
54c5ebb1 71Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected
dc9c8f8b
JH
72Certificate file = aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.chain.pem
73Key file = aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key
54c5ebb1
PH
74??? 220
75<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
76>>> ehlo rhu.barb
77??? 250-
78<<< 250-myhost.test.ex Hello rhu.barb [ip4.ip4.ip4.ip4]
79??? 250-
80<<< 250-SIZE 52428800
81??? 250-
5b456975
JH
82<<< 250-8BITMIME
83??? 250-
54c5ebb1
PH
84<<< 250-PIPELINING
85??? 250-
86<<< 250-STARTTLS
87??? 250
88<<< 250 HELP
89>>> starttls
90??? 220
91<<< 220 TLS go ahead
92Attempting to start TLS
54c5ebb1
PH
93Succeeded in starting TLS
94>>> mail from:<userx@test.ex>
95??? 250
96<<< 250 OK
97>>> rcpt to:<userx@test.ex>
98??? 250
99<<< 250 Accepted
100>>> quit
101??? 221
102<<< 221 myhost.test.ex closing connection
103End of script
dc9c8f8b 104### Good certificate, certificate optional at TLS time, checked by ACL
54c5ebb1 105Connecting to 127.0.0.1 port 1225 ... connected
dc9c8f8b
JH
106Certificate file = aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.chain.pem
107Key file = aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key
54c5ebb1
PH
108??? 220
109<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
110>>> ehlo rhu.barb
111??? 250-
112<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1]
113??? 250-
114<<< 250-SIZE 52428800
115??? 250-
5b456975
JH
116<<< 250-8BITMIME
117??? 250-
54c5ebb1
PH
118<<< 250-PIPELINING
119??? 250-
120<<< 250-STARTTLS
121??? 250
122<<< 250 HELP
123>>> starttls
124??? 220
125<<< 220 TLS go ahead
126Attempting to start TLS
54c5ebb1
PH
127Succeeded in starting TLS
128>>> mail from:<userx@test.ex>
129??? 250
130<<< 250 OK
131>>> rcpt to:<userx@test.ex>
132??? 250
133<<< 250 Accepted
134>>> quit
135??? 221
136<<< 221 myhost.test.ex closing connection
137End of script
dc9c8f8b 138### Bad certificate, certificate required
54c5ebb1 139Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected
dc9c8f8b
JH
140Certificate file = aux-fixed/exim-ca/example.net/server1.example.net/server1.example.net.chain.pem
141Key file = aux-fixed/exim-ca/example.net/server1.example.net/server1.example.net.unlocked.key
54c5ebb1
PH
142??? 220
143<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
144>>> ehlo rhu.barb
145??? 250-
146<<< 250-myhost.test.ex Hello rhu.barb [ip4.ip4.ip4.ip4]
147??? 250-
148<<< 250-SIZE 52428800
149??? 250-
5b456975
JH
150<<< 250-8BITMIME
151??? 250-
54c5ebb1
PH
152<<< 250-PIPELINING
153??? 250-
154<<< 250-STARTTLS
155??? 250
156<<< 250 HELP
157>>> starttls
158??? 220
159<<< 220 TLS go ahead
160Attempting to start TLS
12373afb 161pppp:error:dddddddd:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca:[...]:SSL alert number 48
54c5ebb1 162Failed to start TLS
ce80533b 163>>> noop
90788405
JH
164????554 Security failure
165>>> noop
ce80533b
JH
166??? 554 Security failure
167<<< 554 Security failure
54c5ebb1 168End of script
dc9c8f8b 169### Bad certificate, certificate optional at TLS time, reject at ACL time
54c5ebb1 170Connecting to 127.0.0.1 port 1225 ... connected
dc9c8f8b
JH
171Certificate file = aux-fixed/exim-ca/example.net/server1.example.net/server1.example.net.chain.pem
172Key file = aux-fixed/exim-ca/example.net/server1.example.net/server1.example.net.unlocked.key
54c5ebb1
PH
173??? 220
174<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
175>>> ehlo rhu.barb
176??? 250-
177<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1]
178??? 250-
179<<< 250-SIZE 52428800
180??? 250-
5b456975
JH
181<<< 250-8BITMIME
182??? 250-
54c5ebb1
PH
183<<< 250-PIPELINING
184??? 250-
185<<< 250-STARTTLS
186??? 250
187<<< 250 HELP
188>>> starttls
189??? 220
190<<< 220 TLS go ahead
191Attempting to start TLS
54c5ebb1
PH
192Succeeded in starting TLS
193>>> mail from:<userx@test.ex>
194??? 250
195<<< 250 OK
196>>> rcpt to:<userx@test.ex>
54c5ebb1 197??? 550
dc9c8f8b 198<<< 550 certificate not verified: peerdn=/CN=server1.example.net
54c5ebb1
PH
199>>> quit
200??? 221
201<<< 221 myhost.test.ex closing connection
202End of script
dc9c8f8b 203### Otherwise good but revoked certificate, certificate required
54c5ebb1 204Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected
dc9c8f8b
JH
205Certificate file = aux-fixed/exim-ca/example.com/revoked1.example.com/revoked1.example.com.chain.pem
206Key file = aux-fixed/exim-ca/example.com/revoked1.example.com/revoked1.example.com.unlocked.key
54c5ebb1
PH
207??? 220
208<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
209>>> ehlo rhu.barb
210??? 250-
211<<< 250-myhost.test.ex Hello rhu.barb [ip4.ip4.ip4.ip4]
212??? 250-
213<<< 250-SIZE 52428800
214??? 250-
5b456975
JH
215<<< 250-8BITMIME
216??? 250-
54c5ebb1
PH
217<<< 250-PIPELINING
218??? 250-
219<<< 250-STARTTLS
220??? 250
221<<< 250 HELP
222>>> starttls
223??? 220
224<<< 220 TLS go ahead
225Attempting to start TLS
12373afb 226pppp:error:dddddddd:SSL routines:ssl3_read_bytes:sslv3 alert certificate revoked:[...]:SSL alert number 44
54c5ebb1 227Failed to start TLS
ce80533b 228>>> noop
90788405
JH
229????554 Security failure
230>>> noop
ce80533b
JH
231??? 554 Security failure
232<<< 554 Security failure
54c5ebb1 233End of script
dc9c8f8b 234### Revoked certificate, certificate optional at TLS time, reject at ACL time
54c5ebb1 235Connecting to 127.0.0.1 port 1225 ... connected
dc9c8f8b
JH
236Certificate file = aux-fixed/exim-ca/example.com/revoked1.example.com/revoked1.example.com.chain.pem
237Key file = aux-fixed/exim-ca/example.com/revoked1.example.com/revoked1.example.com.unlocked.key
54c5ebb1
PH
238??? 220
239<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
240>>> ehlo rhu.barb
241??? 250-
242<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1]
243??? 250-
244<<< 250-SIZE 52428800
245??? 250-
5b456975
JH
246<<< 250-8BITMIME
247??? 250-
54c5ebb1
PH
248<<< 250-PIPELINING
249??? 250-
250<<< 250-STARTTLS
251??? 250
252<<< 250 HELP
253>>> starttls
254??? 220
255<<< 220 TLS go ahead
256Attempting to start TLS
54c5ebb1
PH
257Succeeded in starting TLS
258>>> mail from:<userx@test.ex>
259??? 250
260<<< 250 OK
261>>> rcpt to:<userx@test.ex>
54c5ebb1 262??? 550
dc9c8f8b 263<<< 550 certificate not verified: peerdn=/CN=revoked1.example.com
54c5ebb1
PH
264>>> quit
265??? 221
266<<< 221 myhost.test.ex closing connection
267End of script
dc9c8f8b
JH
268### Good certificate, certificate required - but nonmatching CRL also present
269Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected
270Certificate file = aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.chain.pem
271Key file = aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key
272??? 220
273<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
274>>> ehlo rhu.barb
275??? 250-
276<<< 250-myhost.test.ex Hello rhu.barb [ip4.ip4.ip4.ip4]
277??? 250-
278<<< 250-SIZE 52428800
279??? 250-
280<<< 250-8BITMIME
281??? 250-
282<<< 250-PIPELINING
283??? 250-
284<<< 250-STARTTLS
285??? 250
286<<< 250 HELP
287>>> starttls
288??? 220
289<<< 220 TLS go ahead
290Attempting to start TLS
dc9c8f8b
JH
291Succeeded in starting TLS
292>>> mail from:<userx@test.ex>
293??? 250
294<<< 250 OK
295>>> rcpt to:<userx@test.ex>
296??? 250
297<<< 250 Accepted
298>>> quit
299??? 221
300<<< 221 myhost.test.ex closing connection
301End of script
302
303******** SERVER ********
304### No certificate, certificate required
305### No certificate, certificate optional at TLS time, required by ACL
306### Good certificate, certificate required
307### Good certificate, certificate optional at TLS time, checked by ACL
308### Bad certificate, certificate required
309### Bad certificate, certificate optional at TLS time, reject at ACL time
310### Otherwise good but revoked certificate, certificate required
311### Revoked certificate, certificate optional at TLS time, reject at ACL time
312### Good certificate, certificate required - but nonmatching CRL also present