1 # TLS session resumption
5 # (requires SSLKEYLOGFILE added to /etc/sudoers)
6 # SSLKEYLOGFILE=/home/jgh/git/exim/test/foo sudo exim -DSERVER=server -bd -oX PORT_D
9 exim -DSERVER=server -DOPTION=NORMAL:!VERS-TLS1.3 -bd -oX PORT_D
11 exim -DVALUE=resume -odf getticket@test.ex
12 Test message. Contains FF: ÿ
14 exim -DVALUE=resume -odf resume@test.ex abcd@test.ex xyz@test.ex
15 Test message to two different hosts, one does not support resume
17 # allow time for ticket to hit renewal time
19 exim -DVALUE=resume -odf renewal@test.ex
22 exim -DVALUE=resume -odf postrenewal@test.ex
26 exim -DVALUE=resume -odf timeout@test.ex
29 exim -odf notreq@test.ex
30 Test message, not requesting resumption.
32 sudo rm -f DIR/spool/db/tls
33 exim -odf -DVALUE=resume noverify_getticket@test.ex
34 Dest on this means the server cert will not verify (but try_verify will permit it)
36 exim -odf -DVALUE=resume noverify_resume@test.ex
37 Dest on this means the server cert will not verify (but try_verify will permit it)
41 sudo rm -f DIR/spool/db/tls
45 exim -DSERVER=server -DOPTION=NORMAL -bd -oX PORT_D
47 exim -DVALUE=resume -odf getticket@test.ex
48 Test message. Contains FF: ÿ
50 exim -DVALUE=resume -odf resume@test.ex abcd@test.ex xyz@test.ex
51 Test message to two different hosts, one does not support resume
53 # allow time for ticket to hit renewal time
55 exim -DVALUE=resume -odf renewal@test.ex
58 exim -DVALUE=resume -odf postrenewal@test.ex
62 exim -DVALUE=resume -odf timeout@test.ex
65 exim -odf notreq@test.ex
66 Test message, not requesting resumption.
69 # Test the host_name_extract transport option. Due to the change the second
70 # message's connection should not offer a session. The third should (on the 2nd),
71 # as should the fourth (on the 1st).
72 sudo rm -f DIR/spool/db/tls*
73 exim -DVALUE=resume -odf getticket@test.ex
75 exim -DVALUE=resume -DHELO_MSG=differenthost -odf noresume@test.ex
77 exim -DVALUE=resume -DHELO_MSG=differenthost -odf resume@test.ex
79 exim -DVALUE=resume -odf resume@test.ex