Commit | Line | Data |
---|---|---|
9d1c15ef | 1 | # TLS server: general ops and certificate extractions |
59371ea7 PH |
2 | exim -DSERVER=server -bd -oX PORT_D |
3 | **** | |
4 | client-ssl 127.0.0.1 PORT_D | |
5 | ??? 220 | |
6 | ehlo rhu.barb | |
7 | ??? 250- | |
8 | ??? 250- | |
9 | ??? 250- | |
10 | ??? 250- | |
5b456975 | 11 | ??? 250- |
59371ea7 PH |
12 | ??? 250 |
13 | starttls | |
14 | ??? 220 | |
15 | mail from:<CALLER@test.ex> | |
16 | ??? 250 | |
17 | rcpt to:<CALLER@test.ex> | |
18 | ??? 250 | |
19 | DATA | |
20 | ??? 3 | |
21 | This is a test encrypted message. | |
22 | . | |
23 | ??? 250 | |
24 | quit | |
25 | ??? 221 | |
26 | **** | |
fd98a5c6 JH |
27 | client-ssl 127.0.0.1 PORT_D |
28 | ??? 220 | |
29 | ehlo rhu.barb | |
30 | ??? 250- | |
31 | ??? 250- | |
32 | ??? 250- | |
33 | ??? 250- | |
34 | ??? 250- | |
35 | ??? 250 | |
36 | starttls | |
37 | ??? 220 | |
38 | mail from:<"name with spaces"@test.ex> | |
39 | ??? 250 | |
40 | rcpt to:<CALLER@test.ex> | |
41 | ??? 250 | |
42 | DATA | |
43 | ??? 3 | |
44 | This is a test encrypted message. | |
45 | . | |
46 | ??? 250 | |
47 | quit | |
48 | ??? 221 | |
49 | **** | |
131c0f8a | 50 | # nonloop addr conn rejected lacking cert |
59371ea7 PH |
51 | client-ssl HOSTIPV4 PORT_D |
52 | ??? 220 | |
53 | ehlo rhu.barb | |
54 | ??? 250- | |
55 | ??? 250- | |
56 | ??? 250- | |
57 | ??? 250- | |
5b456975 | 58 | ??? 250- |
59371ea7 PH |
59 | ??? 250 |
60 | starttls | |
131c0f8a JH |
61 | ??? 220 TLS go ahead |
62 | +++ 1 | |
63 | help | |
64 | ??? 554 | |
59371ea7 | 65 | **** |
9d1c15ef | 66 | client-ssl HOSTIPV4 PORT_D DIR/aux-fixed/exim-ca/example.com/server2.example.com/server2.example.com.pem DIR/aux-fixed/exim-ca/example.com/server2.example.com/server2.example.com.unlocked.key |
59371ea7 PH |
67 | ??? 220 |
68 | ehlo rhu.barb | |
69 | ??? 250- | |
70 | ??? 250- | |
71 | ??? 250- | |
72 | ??? 250- | |
5b456975 | 73 | ??? 250- |
59371ea7 PH |
74 | ??? 250 |
75 | starttls | |
76 | ??? 220 | |
77 | mail from:<CALLER@test.ex> | |
78 | ??? 250 | |
79 | rcpt to:<CALLER@test.ex> | |
80 | ??? 250 | |
81 | DATA | |
82 | ??? 3 | |
83 | This is a test encrypted message from a verified host. | |
84 | . | |
85 | ??? 250 | |
86 | quit | |
87 | ??? 221 | |
88 | **** | |
89 | killdaemon | |
90 | exim -qf | |
91 | **** | |
92 | exim -bh 10.0.0.1 | |
93 | starttls | |
94 | quit | |
95 | **** |