Testsuite: move CRL testcases away from using SHA1-signed certs
[exim.git] / test / scripts / 5840-DANE-OpenSSL / 5840
CommitLineData
12ee8cf9
JH
1# DANE client: general
2#
82525c6f 3exim -DSERVER=server -DDETAILS=ee -bd -oX PORT_D
12ee8cf9 4****
cfe93a95 5### TLSA (3 1 1)
281e72e4 6exim -odq CALLER@dane256ee.test.ex
101de477
JH
7Testing
8****
cfe93a95 9### TLSA (3 1 2)
281e72e4 10exim -odq CALLER@mxdane512ee.test.ex
12ee8cf9
JH
11Testing
12****
401a8935 13exim -qf
12ee8cf9 14****
bf7aabb4
JH
15#
16#
cfe93a95 17### Recipient callout
bf7aabb4
JH
18exim -DOPT=callout -bhc 127.0.0.1
19MAIL FROM: <CALLER@myhost.test.ex>
cfe93a95 20RCPT TO: <rcptuser@dane256ee.test.ex>
bf7aabb4 21****
12ee8cf9 22killdaemon
82525c6f
JH
23#
24#
25exim -DSERVER=server -DDETAILS=ta -bd -oX PORT_D
26****
cfe93a95 27### TLSA (2 0 1)
854586e1 28exim -odf CALLER@mxdane256ta.test.ex
82525c6f
JH
29Testing
30****
854586e1
JH
31killdaemon
32#
33exim -DSERVER=server -DCERT=DIR/aux-fixed/exim-ca/example.com/server2.example.com/fullchain.pem -DALLOW=DIR/aux-fixed/exim-ca/example.com/server2.example.com/server2.example.com.unlocked.key -bd -oX PORT_D
34****
35### TLSA (2 1 1)
36exim -odf CALLER@mxdane256tak.test.ex
37Testing
82525c6f
JH
38****
39killdaemon
281e72e4 40#
cfe93a95 41### A server with a nonverifying cert and no TLSA
281e72e4
JH
42# Check we get a non-CV but TLS connection, with try_dane but no require_dane
43exim -DSERVER=server -DDETAILS=no -bd -oX PORT_D
44****
45exim -odq CALLER@thishost.test.ex
46Testing
12ee8cf9 47****
281e72e4
JH
48exim -qf
49****
50killdaemon
51#
cfe93a95 52### A server with a verifying cert and no TLSA
281e72e4
JH
53# Check we get a CV and TLS connection, with try_dane but no require_dane
54exim -DSERVER=server -DDETAILS=ca -bd -oX PORT_D
55****
854586e1 56exim -odf CALLER@thishost.test.ex
281e72e4
JH
57Testing
58****
01a4a5c5 59exim -DOPT=no_certname -qf
281e72e4
JH
60****
61killdaemon
62#
4cea764f 63#
4cea764f
JH
64exim -DSERVER=server -DDETAILS=ee -bd -oX PORT_D
65****
cfe93a95 66### A server with two MXs for which both TLSA lookups return defer
4cea764f
JH
67exim -odq CALLER@mxdanelazy.test.ex
68Testing
69****
b7e4352c 70### A server lacking a TLSA, dane required (should fail)
6aa849d3
JH
71exim -odq CALLER@dane.no.1.test.ex
72Testing
73****
b7e4352c 74### A server lacking a TLSA, dane requested only (should fail, as the NXDOMAIN is not DNSSEC)
6aa849d3
JH
75exim -odq CALLER@dane.no.2.test.ex
76Testing
77****
b7e4352c
JH
78### A server where the A is dnssec and the TLSA _fails_
79exim -odq CALLER@danebroken1.test.ex
80Testing
81****
ce889807
JH
82### A server securely saying "no TLSA records here", dane required (should fail)
83exim -odq CALLER@dane.no.3.test.ex
84Testing
85****
86### A server securely saying "no TLSA records here", dane requested only (should transmit)
87exim -odq CALLER@dane.no.4.test.ex
88Testing
89****
4cea764f
JH
90exim -qf
91****
92killdaemon
93no_msglog_check