Testsuite: more connect-time munge tweaking
[exim.git] / test / scripts / 2100-OpenSSL / 2132
1 # TLS server: server ca cert from directory
2 exim -DSERVER=server -bd -oX PORT_D
3 ****
4 #
5 ### Should accept message
6 client-ssl 127.0.0.1 PORT_D
7 ??? 220
8 ehlo rhu.barb
9 ??? 250-
10 ??? 250-
11 ??? 250-
12 ??? 250-
13 ??? 250-
14 ??? 250-
15 ??? 250
16 starttls
17 ??? 220
18 helo test
19 ??? 250
20 mail from:<CALLER@test.ex>
21 ??? 250
22 rcpt to:<CALLER@test.ex>
23 ??? 250
24 DATA
25 ??? 3
26 This is a test encrypted message.
27 .
28 ??? 250
29 quit
30 ??? 221
31 ****
32 ### Should accept message (with a difficult env-from)
33 client-ssl 127.0.0.1 PORT_D
34 ??? 220
35 ehlo rhu.barb
36 ??? 250-
37 ??? 250-
38 ??? 250-
39 ??? 250-
40 ??? 250-
41 ??? 250-
42 ??? 250
43 starttls
44 ??? 220
45 helo test
46 ??? 250
47 mail from:<"name with spaces"@test.ex>
48 ??? 250
49 rcpt to:<CALLER@test.ex>
50 ??? 250
51 DATA
52 ??? 3
53 This is a test encrypted message.
54 .
55 ??? 250
56 quit
57 ??? 221
58 ****
59 ### client cert verify required; none given
60 client-ssl -t2 HOSTIPV4 PORT_D
61 ??? 220
62 ehlo rhu.barb
63 ??? 250-
64 ??? 250-
65 ??? 250-
66 ??? 250-
67 ??? 250-
68 ??? 250-
69 ??? 250
70 starttls
71 ??? 220
72 noop
73 ????554
74 noop
75 ??? 554
76 ****
77 ### client cert verify required; good one supplied
78 client-ssl HOSTIPV4 PORT_D DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.pem DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key
79 ??? 220
80 ehlo rhu.barb
81 ??? 250-
82 ??? 250-
83 ??? 250-
84 ??? 250-
85 ??? 250-
86 ??? 250-
87 ??? 250
88 starttls
89 ??? 220
90 helo test
91 ??? 250
92 mail from:<CALLER@test.ex>
93 ??? 250
94 rcpt to:<CALLER@test.ex>
95 ??? 250
96 DATA
97 ??? 3
98 This is a test encrypted message from a verified host.
99 .
100 ??? 250
101 quit
102 ??? 221
103 ****
104 killdaemon
105 exim -qf
106 ****
107 exim -bh 10.0.0.1
108 starttls
109 quit
110 ****