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