xref: /freebsd/crypto/openssl/test/ssl-tests/27-ticket-appdata.cnf (revision 6580f5c38dd5b01aeeaed16b370f1a12423437f0)
1# Generated with generate_ssl_tests.pl
2
3num_tests = 4
4
5test-0 = 0-session-ticket-app-data12
6test-1 = 1-session-ticket-app-data12
7test-2 = 2-session-ticket-app-data13
8test-3 = 3-session-ticket-app-data13
9# ===========================================================
10
11[0-session-ticket-app-data12]
12ssl_conf = 0-session-ticket-app-data12-ssl
13
14[0-session-ticket-app-data12-ssl]
15server = 0-session-ticket-app-data12-server
16client = 0-session-ticket-app-data12-client
17resume-server = 0-session-ticket-app-data12-server
18resume-client = 0-session-ticket-app-data12-client
19
20[0-session-ticket-app-data12-server]
21Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
22CipherString = DEFAULT
23Options = SessionTicket
24PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
25
26[0-session-ticket-app-data12-client]
27CipherString = DEFAULT
28MaxProtocol = TLSv1.2
29Options = SessionTicket
30VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
31VerifyMode = Peer
32
33[test-0]
34ExpectedResult = Success
35ExpectedSessionTicketAppData = HelloWorld
36HandshakeMode = Resume
37ResumptionExpected = Yes
38SessionTicketExpected = Yes
39server = 0-session-ticket-app-data12-server-extra
40resume-server = 0-session-ticket-app-data12-server-extra
41
42[0-session-ticket-app-data12-server-extra]
43SessionTicketAppData = HelloWorld
44
45
46# ===========================================================
47
48[1-session-ticket-app-data12]
49ssl_conf = 1-session-ticket-app-data12-ssl
50
51[1-session-ticket-app-data12-ssl]
52server = 1-session-ticket-app-data12-server
53client = 1-session-ticket-app-data12-client
54resume-server = 1-session-ticket-app-data12-server
55resume-client = 1-session-ticket-app-data12-client
56
57[1-session-ticket-app-data12-server]
58Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
59CipherString = DEFAULT
60Options = SessionTicket
61PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
62
63[1-session-ticket-app-data12-client]
64CipherString = DEFAULT
65MaxProtocol = TLSv1.2
66Options = SessionTicket
67VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
68VerifyMode = Peer
69
70[test-1]
71ExpectedResult = Success
72ExpectedSessionTicketAppData =
73HandshakeMode = Resume
74ResumptionExpected = Yes
75SessionTicketExpected = Yes
76
77
78# ===========================================================
79
80[2-session-ticket-app-data13]
81ssl_conf = 2-session-ticket-app-data13-ssl
82
83[2-session-ticket-app-data13-ssl]
84server = 2-session-ticket-app-data13-server
85client = 2-session-ticket-app-data13-client
86resume-server = 2-session-ticket-app-data13-server
87resume-client = 2-session-ticket-app-data13-client
88
89[2-session-ticket-app-data13-server]
90Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
91CipherString = DEFAULT
92Options = SessionTicket
93PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
94
95[2-session-ticket-app-data13-client]
96CipherString = DEFAULT
97MaxProtocol = TLSv1.3
98Options = SessionTicket
99VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
100VerifyMode = Peer
101
102[test-2]
103ExpectedResult = Success
104ExpectedSessionTicketAppData = HelloWorld
105HandshakeMode = Resume
106ResumptionExpected = Yes
107SessionTicketExpected = Yes
108server = 2-session-ticket-app-data13-server-extra
109resume-server = 2-session-ticket-app-data13-server-extra
110
111[2-session-ticket-app-data13-server-extra]
112SessionTicketAppData = HelloWorld
113
114
115# ===========================================================
116
117[3-session-ticket-app-data13]
118ssl_conf = 3-session-ticket-app-data13-ssl
119
120[3-session-ticket-app-data13-ssl]
121server = 3-session-ticket-app-data13-server
122client = 3-session-ticket-app-data13-client
123resume-server = 3-session-ticket-app-data13-server
124resume-client = 3-session-ticket-app-data13-client
125
126[3-session-ticket-app-data13-server]
127Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
128CipherString = DEFAULT
129Options = SessionTicket
130PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
131
132[3-session-ticket-app-data13-client]
133CipherString = DEFAULT
134MaxProtocol = TLSv1.3
135Options = SessionTicket
136VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
137VerifyMode = Peer
138
139[test-3]
140ExpectedResult = Success
141ExpectedSessionTicketAppData =
142HandshakeMode = Resume
143ResumptionExpected = Yes
144SessionTicketExpected = Yes
145
146
147