1 | # Generated with generate_ssl_tests.pl
|
---|
2 |
|
---|
3 | num_tests = 18
|
---|
4 |
|
---|
5 | test-0 = 0-alpn-simple
|
---|
6 | test-1 = 1-alpn-server-finds-match
|
---|
7 | test-2 = 2-alpn-server-honours-server-pref
|
---|
8 | test-3 = 3-alpn-alert-on-mismatch
|
---|
9 | test-4 = 4-alpn-no-server-support
|
---|
10 | test-5 = 5-alpn-no-client-support
|
---|
11 | test-6 = 6-alpn-with-sni-no-context-switch
|
---|
12 | test-7 = 7-alpn-with-sni-context-switch
|
---|
13 | test-8 = 8-alpn-selected-sni-server-supports-alpn
|
---|
14 | test-9 = 9-alpn-selected-sni-server-does-not-support-alpn
|
---|
15 | test-10 = 10-alpn-simple-resumption
|
---|
16 | test-11 = 11-alpn-server-switch-resumption
|
---|
17 | test-12 = 12-alpn-client-switch-resumption
|
---|
18 | test-13 = 13-alpn-alert-on-mismatch-resumption
|
---|
19 | test-14 = 14-alpn-no-server-support-resumption
|
---|
20 | test-15 = 15-alpn-no-client-support-resumption
|
---|
21 | test-16 = 16-alpn-empty-client-list
|
---|
22 | test-17 = 17-alpn-empty-server-list
|
---|
23 | # ===========================================================
|
---|
24 |
|
---|
25 | [0-alpn-simple]
|
---|
26 | ssl_conf = 0-alpn-simple-ssl
|
---|
27 |
|
---|
28 | [0-alpn-simple-ssl]
|
---|
29 | server = 0-alpn-simple-server
|
---|
30 | client = 0-alpn-simple-client
|
---|
31 |
|
---|
32 | [0-alpn-simple-server]
|
---|
33 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
---|
34 | CipherString = DEFAULT
|
---|
35 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
---|
36 |
|
---|
37 | [0-alpn-simple-client]
|
---|
38 | CipherString = DEFAULT
|
---|
39 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
---|
40 | VerifyMode = Peer
|
---|
41 |
|
---|
42 | [test-0]
|
---|
43 | ExpectedALPNProtocol = foo
|
---|
44 | server = 0-alpn-simple-server-extra
|
---|
45 | client = 0-alpn-simple-client-extra
|
---|
46 |
|
---|
47 | [0-alpn-simple-server-extra]
|
---|
48 | ALPNProtocols = foo
|
---|
49 |
|
---|
50 | [0-alpn-simple-client-extra]
|
---|
51 | ALPNProtocols = foo
|
---|
52 |
|
---|
53 |
|
---|
54 | # ===========================================================
|
---|
55 |
|
---|
56 | [1-alpn-server-finds-match]
|
---|
57 | ssl_conf = 1-alpn-server-finds-match-ssl
|
---|
58 |
|
---|
59 | [1-alpn-server-finds-match-ssl]
|
---|
60 | server = 1-alpn-server-finds-match-server
|
---|
61 | client = 1-alpn-server-finds-match-client
|
---|
62 |
|
---|
63 | [1-alpn-server-finds-match-server]
|
---|
64 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
---|
65 | CipherString = DEFAULT
|
---|
66 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
---|
67 |
|
---|
68 | [1-alpn-server-finds-match-client]
|
---|
69 | CipherString = DEFAULT
|
---|
70 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
---|
71 | VerifyMode = Peer
|
---|
72 |
|
---|
73 | [test-1]
|
---|
74 | ExpectedALPNProtocol = bar
|
---|
75 | server = 1-alpn-server-finds-match-server-extra
|
---|
76 | client = 1-alpn-server-finds-match-client-extra
|
---|
77 |
|
---|
78 | [1-alpn-server-finds-match-server-extra]
|
---|
79 | ALPNProtocols = baz,bar
|
---|
80 |
|
---|
81 | [1-alpn-server-finds-match-client-extra]
|
---|
82 | ALPNProtocols = foo,bar
|
---|
83 |
|
---|
84 |
|
---|
85 | # ===========================================================
|
---|
86 |
|
---|
87 | [2-alpn-server-honours-server-pref]
|
---|
88 | ssl_conf = 2-alpn-server-honours-server-pref-ssl
|
---|
89 |
|
---|
90 | [2-alpn-server-honours-server-pref-ssl]
|
---|
91 | server = 2-alpn-server-honours-server-pref-server
|
---|
92 | client = 2-alpn-server-honours-server-pref-client
|
---|
93 |
|
---|
94 | [2-alpn-server-honours-server-pref-server]
|
---|
95 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
---|
96 | CipherString = DEFAULT
|
---|
97 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
---|
98 |
|
---|
99 | [2-alpn-server-honours-server-pref-client]
|
---|
100 | CipherString = DEFAULT
|
---|
101 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
---|
102 | VerifyMode = Peer
|
---|
103 |
|
---|
104 | [test-2]
|
---|
105 | ExpectedALPNProtocol = bar
|
---|
106 | server = 2-alpn-server-honours-server-pref-server-extra
|
---|
107 | client = 2-alpn-server-honours-server-pref-client-extra
|
---|
108 |
|
---|
109 | [2-alpn-server-honours-server-pref-server-extra]
|
---|
110 | ALPNProtocols = bar,foo
|
---|
111 |
|
---|
112 | [2-alpn-server-honours-server-pref-client-extra]
|
---|
113 | ALPNProtocols = foo,bar
|
---|
114 |
|
---|
115 |
|
---|
116 | # ===========================================================
|
---|
117 |
|
---|
118 | [3-alpn-alert-on-mismatch]
|
---|
119 | ssl_conf = 3-alpn-alert-on-mismatch-ssl
|
---|
120 |
|
---|
121 | [3-alpn-alert-on-mismatch-ssl]
|
---|
122 | server = 3-alpn-alert-on-mismatch-server
|
---|
123 | client = 3-alpn-alert-on-mismatch-client
|
---|
124 |
|
---|
125 | [3-alpn-alert-on-mismatch-server]
|
---|
126 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
---|
127 | CipherString = DEFAULT
|
---|
128 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
---|
129 |
|
---|
130 | [3-alpn-alert-on-mismatch-client]
|
---|
131 | CipherString = DEFAULT
|
---|
132 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
---|
133 | VerifyMode = Peer
|
---|
134 |
|
---|
135 | [test-3]
|
---|
136 | ExpectedResult = ServerFail
|
---|
137 | ExpectedServerAlert = NoApplicationProtocol
|
---|
138 | server = 3-alpn-alert-on-mismatch-server-extra
|
---|
139 | client = 3-alpn-alert-on-mismatch-client-extra
|
---|
140 |
|
---|
141 | [3-alpn-alert-on-mismatch-server-extra]
|
---|
142 | ALPNProtocols = baz
|
---|
143 |
|
---|
144 | [3-alpn-alert-on-mismatch-client-extra]
|
---|
145 | ALPNProtocols = foo,bar
|
---|
146 |
|
---|
147 |
|
---|
148 | # ===========================================================
|
---|
149 |
|
---|
150 | [4-alpn-no-server-support]
|
---|
151 | ssl_conf = 4-alpn-no-server-support-ssl
|
---|
152 |
|
---|
153 | [4-alpn-no-server-support-ssl]
|
---|
154 | server = 4-alpn-no-server-support-server
|
---|
155 | client = 4-alpn-no-server-support-client
|
---|
156 |
|
---|
157 | [4-alpn-no-server-support-server]
|
---|
158 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
---|
159 | CipherString = DEFAULT
|
---|
160 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
---|
161 |
|
---|
162 | [4-alpn-no-server-support-client]
|
---|
163 | CipherString = DEFAULT
|
---|
164 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
---|
165 | VerifyMode = Peer
|
---|
166 |
|
---|
167 | [test-4]
|
---|
168 | client = 4-alpn-no-server-support-client-extra
|
---|
169 |
|
---|
170 | [4-alpn-no-server-support-client-extra]
|
---|
171 | ALPNProtocols = foo
|
---|
172 |
|
---|
173 |
|
---|
174 | # ===========================================================
|
---|
175 |
|
---|
176 | [5-alpn-no-client-support]
|
---|
177 | ssl_conf = 5-alpn-no-client-support-ssl
|
---|
178 |
|
---|
179 | [5-alpn-no-client-support-ssl]
|
---|
180 | server = 5-alpn-no-client-support-server
|
---|
181 | client = 5-alpn-no-client-support-client
|
---|
182 |
|
---|
183 | [5-alpn-no-client-support-server]
|
---|
184 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
---|
185 | CipherString = DEFAULT
|
---|
186 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
---|
187 |
|
---|
188 | [5-alpn-no-client-support-client]
|
---|
189 | CipherString = DEFAULT
|
---|
190 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
---|
191 | VerifyMode = Peer
|
---|
192 |
|
---|
193 | [test-5]
|
---|
194 | server = 5-alpn-no-client-support-server-extra
|
---|
195 |
|
---|
196 | [5-alpn-no-client-support-server-extra]
|
---|
197 | ALPNProtocols = foo
|
---|
198 |
|
---|
199 |
|
---|
200 | # ===========================================================
|
---|
201 |
|
---|
202 | [6-alpn-with-sni-no-context-switch]
|
---|
203 | ssl_conf = 6-alpn-with-sni-no-context-switch-ssl
|
---|
204 |
|
---|
205 | [6-alpn-with-sni-no-context-switch-ssl]
|
---|
206 | server = 6-alpn-with-sni-no-context-switch-server
|
---|
207 | client = 6-alpn-with-sni-no-context-switch-client
|
---|
208 | server2 = 6-alpn-with-sni-no-context-switch-server2
|
---|
209 |
|
---|
210 | [6-alpn-with-sni-no-context-switch-server]
|
---|
211 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
---|
212 | CipherString = DEFAULT
|
---|
213 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
---|
214 |
|
---|
215 | [6-alpn-with-sni-no-context-switch-server2]
|
---|
216 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
---|
217 | CipherString = DEFAULT
|
---|
218 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
---|
219 |
|
---|
220 | [6-alpn-with-sni-no-context-switch-client]
|
---|
221 | CipherString = DEFAULT
|
---|
222 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
---|
223 | VerifyMode = Peer
|
---|
224 |
|
---|
225 | [test-6]
|
---|
226 | ExpectedALPNProtocol = foo
|
---|
227 | ExpectedServerName = server1
|
---|
228 | server = 6-alpn-with-sni-no-context-switch-server-extra
|
---|
229 | server2 = 6-alpn-with-sni-no-context-switch-server2-extra
|
---|
230 | client = 6-alpn-with-sni-no-context-switch-client-extra
|
---|
231 |
|
---|
232 | [6-alpn-with-sni-no-context-switch-server-extra]
|
---|
233 | ALPNProtocols = foo
|
---|
234 | ServerNameCallback = IgnoreMismatch
|
---|
235 |
|
---|
236 | [6-alpn-with-sni-no-context-switch-server2-extra]
|
---|
237 | ALPNProtocols = bar
|
---|
238 |
|
---|
239 | [6-alpn-with-sni-no-context-switch-client-extra]
|
---|
240 | ALPNProtocols = foo,bar
|
---|
241 | ServerName = server1
|
---|
242 |
|
---|
243 |
|
---|
244 | # ===========================================================
|
---|
245 |
|
---|
246 | [7-alpn-with-sni-context-switch]
|
---|
247 | ssl_conf = 7-alpn-with-sni-context-switch-ssl
|
---|
248 |
|
---|
249 | [7-alpn-with-sni-context-switch-ssl]
|
---|
250 | server = 7-alpn-with-sni-context-switch-server
|
---|
251 | client = 7-alpn-with-sni-context-switch-client
|
---|
252 | server2 = 7-alpn-with-sni-context-switch-server2
|
---|
253 |
|
---|
254 | [7-alpn-with-sni-context-switch-server]
|
---|
255 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
---|
256 | CipherString = DEFAULT
|
---|
257 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
---|
258 |
|
---|
259 | [7-alpn-with-sni-context-switch-server2]
|
---|
260 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
---|
261 | CipherString = DEFAULT
|
---|
262 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
---|
263 |
|
---|
264 | [7-alpn-with-sni-context-switch-client]
|
---|
265 | CipherString = DEFAULT
|
---|
266 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
---|
267 | VerifyMode = Peer
|
---|
268 |
|
---|
269 | [test-7]
|
---|
270 | ExpectedALPNProtocol = bar
|
---|
271 | ExpectedServerName = server2
|
---|
272 | server = 7-alpn-with-sni-context-switch-server-extra
|
---|
273 | server2 = 7-alpn-with-sni-context-switch-server2-extra
|
---|
274 | client = 7-alpn-with-sni-context-switch-client-extra
|
---|
275 |
|
---|
276 | [7-alpn-with-sni-context-switch-server-extra]
|
---|
277 | ALPNProtocols = foo
|
---|
278 | ServerNameCallback = IgnoreMismatch
|
---|
279 |
|
---|
280 | [7-alpn-with-sni-context-switch-server2-extra]
|
---|
281 | ALPNProtocols = bar
|
---|
282 |
|
---|
283 | [7-alpn-with-sni-context-switch-client-extra]
|
---|
284 | ALPNProtocols = foo,bar
|
---|
285 | ServerName = server2
|
---|
286 |
|
---|
287 |
|
---|
288 | # ===========================================================
|
---|
289 |
|
---|
290 | [8-alpn-selected-sni-server-supports-alpn]
|
---|
291 | ssl_conf = 8-alpn-selected-sni-server-supports-alpn-ssl
|
---|
292 |
|
---|
293 | [8-alpn-selected-sni-server-supports-alpn-ssl]
|
---|
294 | server = 8-alpn-selected-sni-server-supports-alpn-server
|
---|
295 | client = 8-alpn-selected-sni-server-supports-alpn-client
|
---|
296 | server2 = 8-alpn-selected-sni-server-supports-alpn-server2
|
---|
297 |
|
---|
298 | [8-alpn-selected-sni-server-supports-alpn-server]
|
---|
299 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
---|
300 | CipherString = DEFAULT
|
---|
301 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
---|
302 |
|
---|
303 | [8-alpn-selected-sni-server-supports-alpn-server2]
|
---|
304 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
---|
305 | CipherString = DEFAULT
|
---|
306 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
---|
307 |
|
---|
308 | [8-alpn-selected-sni-server-supports-alpn-client]
|
---|
309 | CipherString = DEFAULT
|
---|
310 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
---|
311 | VerifyMode = Peer
|
---|
312 |
|
---|
313 | [test-8]
|
---|
314 | ExpectedALPNProtocol = bar
|
---|
315 | ExpectedServerName = server2
|
---|
316 | server = 8-alpn-selected-sni-server-supports-alpn-server-extra
|
---|
317 | server2 = 8-alpn-selected-sni-server-supports-alpn-server2-extra
|
---|
318 | client = 8-alpn-selected-sni-server-supports-alpn-client-extra
|
---|
319 |
|
---|
320 | [8-alpn-selected-sni-server-supports-alpn-server-extra]
|
---|
321 | ServerNameCallback = IgnoreMismatch
|
---|
322 |
|
---|
323 | [8-alpn-selected-sni-server-supports-alpn-server2-extra]
|
---|
324 | ALPNProtocols = bar
|
---|
325 |
|
---|
326 | [8-alpn-selected-sni-server-supports-alpn-client-extra]
|
---|
327 | ALPNProtocols = foo,bar
|
---|
328 | ServerName = server2
|
---|
329 |
|
---|
330 |
|
---|
331 | # ===========================================================
|
---|
332 |
|
---|
333 | [9-alpn-selected-sni-server-does-not-support-alpn]
|
---|
334 | ssl_conf = 9-alpn-selected-sni-server-does-not-support-alpn-ssl
|
---|
335 |
|
---|
336 | [9-alpn-selected-sni-server-does-not-support-alpn-ssl]
|
---|
337 | server = 9-alpn-selected-sni-server-does-not-support-alpn-server
|
---|
338 | client = 9-alpn-selected-sni-server-does-not-support-alpn-client
|
---|
339 | server2 = 9-alpn-selected-sni-server-does-not-support-alpn-server2
|
---|
340 |
|
---|
341 | [9-alpn-selected-sni-server-does-not-support-alpn-server]
|
---|
342 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
---|
343 | CipherString = DEFAULT
|
---|
344 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
---|
345 |
|
---|
346 | [9-alpn-selected-sni-server-does-not-support-alpn-server2]
|
---|
347 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
---|
348 | CipherString = DEFAULT
|
---|
349 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
---|
350 |
|
---|
351 | [9-alpn-selected-sni-server-does-not-support-alpn-client]
|
---|
352 | CipherString = DEFAULT
|
---|
353 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
---|
354 | VerifyMode = Peer
|
---|
355 |
|
---|
356 | [test-9]
|
---|
357 | ExpectedServerName = server2
|
---|
358 | server = 9-alpn-selected-sni-server-does-not-support-alpn-server-extra
|
---|
359 | client = 9-alpn-selected-sni-server-does-not-support-alpn-client-extra
|
---|
360 |
|
---|
361 | [9-alpn-selected-sni-server-does-not-support-alpn-server-extra]
|
---|
362 | ALPNProtocols = bar
|
---|
363 | ServerNameCallback = IgnoreMismatch
|
---|
364 |
|
---|
365 | [9-alpn-selected-sni-server-does-not-support-alpn-client-extra]
|
---|
366 | ALPNProtocols = foo,bar
|
---|
367 | ServerName = server2
|
---|
368 |
|
---|
369 |
|
---|
370 | # ===========================================================
|
---|
371 |
|
---|
372 | [10-alpn-simple-resumption]
|
---|
373 | ssl_conf = 10-alpn-simple-resumption-ssl
|
---|
374 |
|
---|
375 | [10-alpn-simple-resumption-ssl]
|
---|
376 | server = 10-alpn-simple-resumption-server
|
---|
377 | client = 10-alpn-simple-resumption-client
|
---|
378 | resume-server = 10-alpn-simple-resumption-server
|
---|
379 | resume-client = 10-alpn-simple-resumption-client
|
---|
380 |
|
---|
381 | [10-alpn-simple-resumption-server]
|
---|
382 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
---|
383 | CipherString = DEFAULT
|
---|
384 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
---|
385 |
|
---|
386 | [10-alpn-simple-resumption-client]
|
---|
387 | CipherString = DEFAULT
|
---|
388 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
---|
389 | VerifyMode = Peer
|
---|
390 |
|
---|
391 | [test-10]
|
---|
392 | ExpectedALPNProtocol = foo
|
---|
393 | HandshakeMode = Resume
|
---|
394 | ResumptionExpected = Yes
|
---|
395 | server = 10-alpn-simple-resumption-server-extra
|
---|
396 | resume-server = 10-alpn-simple-resumption-server-extra
|
---|
397 | client = 10-alpn-simple-resumption-client-extra
|
---|
398 | resume-client = 10-alpn-simple-resumption-client-extra
|
---|
399 |
|
---|
400 | [10-alpn-simple-resumption-server-extra]
|
---|
401 | ALPNProtocols = foo
|
---|
402 |
|
---|
403 | [10-alpn-simple-resumption-client-extra]
|
---|
404 | ALPNProtocols = foo
|
---|
405 |
|
---|
406 |
|
---|
407 | # ===========================================================
|
---|
408 |
|
---|
409 | [11-alpn-server-switch-resumption]
|
---|
410 | ssl_conf = 11-alpn-server-switch-resumption-ssl
|
---|
411 |
|
---|
412 | [11-alpn-server-switch-resumption-ssl]
|
---|
413 | server = 11-alpn-server-switch-resumption-server
|
---|
414 | client = 11-alpn-server-switch-resumption-client
|
---|
415 | resume-server = 11-alpn-server-switch-resumption-resume-server
|
---|
416 | resume-client = 11-alpn-server-switch-resumption-client
|
---|
417 |
|
---|
418 | [11-alpn-server-switch-resumption-server]
|
---|
419 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
---|
420 | CipherString = DEFAULT
|
---|
421 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
---|
422 |
|
---|
423 | [11-alpn-server-switch-resumption-resume-server]
|
---|
424 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
---|
425 | CipherString = DEFAULT
|
---|
426 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
---|
427 |
|
---|
428 | [11-alpn-server-switch-resumption-client]
|
---|
429 | CipherString = DEFAULT
|
---|
430 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
---|
431 | VerifyMode = Peer
|
---|
432 |
|
---|
433 | [test-11]
|
---|
434 | ExpectedALPNProtocol = baz
|
---|
435 | HandshakeMode = Resume
|
---|
436 | ResumptionExpected = Yes
|
---|
437 | server = 11-alpn-server-switch-resumption-server-extra
|
---|
438 | resume-server = 11-alpn-server-switch-resumption-resume-server-extra
|
---|
439 | client = 11-alpn-server-switch-resumption-client-extra
|
---|
440 | resume-client = 11-alpn-server-switch-resumption-client-extra
|
---|
441 |
|
---|
442 | [11-alpn-server-switch-resumption-server-extra]
|
---|
443 | ALPNProtocols = bar,foo
|
---|
444 |
|
---|
445 | [11-alpn-server-switch-resumption-resume-server-extra]
|
---|
446 | ALPNProtocols = baz,foo
|
---|
447 |
|
---|
448 | [11-alpn-server-switch-resumption-client-extra]
|
---|
449 | ALPNProtocols = foo,bar,baz
|
---|
450 |
|
---|
451 |
|
---|
452 | # ===========================================================
|
---|
453 |
|
---|
454 | [12-alpn-client-switch-resumption]
|
---|
455 | ssl_conf = 12-alpn-client-switch-resumption-ssl
|
---|
456 |
|
---|
457 | [12-alpn-client-switch-resumption-ssl]
|
---|
458 | server = 12-alpn-client-switch-resumption-server
|
---|
459 | client = 12-alpn-client-switch-resumption-client
|
---|
460 | resume-server = 12-alpn-client-switch-resumption-server
|
---|
461 | resume-client = 12-alpn-client-switch-resumption-resume-client
|
---|
462 |
|
---|
463 | [12-alpn-client-switch-resumption-server]
|
---|
464 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
---|
465 | CipherString = DEFAULT
|
---|
466 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
---|
467 |
|
---|
468 | [12-alpn-client-switch-resumption-client]
|
---|
469 | CipherString = DEFAULT
|
---|
470 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
---|
471 | VerifyMode = Peer
|
---|
472 |
|
---|
473 | [12-alpn-client-switch-resumption-resume-client]
|
---|
474 | CipherString = DEFAULT
|
---|
475 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
---|
476 | VerifyMode = Peer
|
---|
477 |
|
---|
478 | [test-12]
|
---|
479 | ExpectedALPNProtocol = bar
|
---|
480 | HandshakeMode = Resume
|
---|
481 | ResumptionExpected = Yes
|
---|
482 | server = 12-alpn-client-switch-resumption-server-extra
|
---|
483 | resume-server = 12-alpn-client-switch-resumption-server-extra
|
---|
484 | client = 12-alpn-client-switch-resumption-client-extra
|
---|
485 | resume-client = 12-alpn-client-switch-resumption-resume-client-extra
|
---|
486 |
|
---|
487 | [12-alpn-client-switch-resumption-server-extra]
|
---|
488 | ALPNProtocols = foo,bar,baz
|
---|
489 |
|
---|
490 | [12-alpn-client-switch-resumption-client-extra]
|
---|
491 | ALPNProtocols = foo,baz
|
---|
492 |
|
---|
493 | [12-alpn-client-switch-resumption-resume-client-extra]
|
---|
494 | ALPNProtocols = bar,baz
|
---|
495 |
|
---|
496 |
|
---|
497 | # ===========================================================
|
---|
498 |
|
---|
499 | [13-alpn-alert-on-mismatch-resumption]
|
---|
500 | ssl_conf = 13-alpn-alert-on-mismatch-resumption-ssl
|
---|
501 |
|
---|
502 | [13-alpn-alert-on-mismatch-resumption-ssl]
|
---|
503 | server = 13-alpn-alert-on-mismatch-resumption-server
|
---|
504 | client = 13-alpn-alert-on-mismatch-resumption-client
|
---|
505 | resume-server = 13-alpn-alert-on-mismatch-resumption-resume-server
|
---|
506 | resume-client = 13-alpn-alert-on-mismatch-resumption-client
|
---|
507 |
|
---|
508 | [13-alpn-alert-on-mismatch-resumption-server]
|
---|
509 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
---|
510 | CipherString = DEFAULT
|
---|
511 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
---|
512 |
|
---|
513 | [13-alpn-alert-on-mismatch-resumption-resume-server]
|
---|
514 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
---|
515 | CipherString = DEFAULT
|
---|
516 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
---|
517 |
|
---|
518 | [13-alpn-alert-on-mismatch-resumption-client]
|
---|
519 | CipherString = DEFAULT
|
---|
520 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
---|
521 | VerifyMode = Peer
|
---|
522 |
|
---|
523 | [test-13]
|
---|
524 | ExpectedResult = ServerFail
|
---|
525 | ExpectedServerAlert = NoApplicationProtocol
|
---|
526 | HandshakeMode = Resume
|
---|
527 | server = 13-alpn-alert-on-mismatch-resumption-server-extra
|
---|
528 | resume-server = 13-alpn-alert-on-mismatch-resumption-resume-server-extra
|
---|
529 | client = 13-alpn-alert-on-mismatch-resumption-client-extra
|
---|
530 | resume-client = 13-alpn-alert-on-mismatch-resumption-client-extra
|
---|
531 |
|
---|
532 | [13-alpn-alert-on-mismatch-resumption-server-extra]
|
---|
533 | ALPNProtocols = bar
|
---|
534 |
|
---|
535 | [13-alpn-alert-on-mismatch-resumption-resume-server-extra]
|
---|
536 | ALPNProtocols = baz
|
---|
537 |
|
---|
538 | [13-alpn-alert-on-mismatch-resumption-client-extra]
|
---|
539 | ALPNProtocols = foo,bar
|
---|
540 |
|
---|
541 |
|
---|
542 | # ===========================================================
|
---|
543 |
|
---|
544 | [14-alpn-no-server-support-resumption]
|
---|
545 | ssl_conf = 14-alpn-no-server-support-resumption-ssl
|
---|
546 |
|
---|
547 | [14-alpn-no-server-support-resumption-ssl]
|
---|
548 | server = 14-alpn-no-server-support-resumption-server
|
---|
549 | client = 14-alpn-no-server-support-resumption-client
|
---|
550 | resume-server = 14-alpn-no-server-support-resumption-resume-server
|
---|
551 | resume-client = 14-alpn-no-server-support-resumption-client
|
---|
552 |
|
---|
553 | [14-alpn-no-server-support-resumption-server]
|
---|
554 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
---|
555 | CipherString = DEFAULT
|
---|
556 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
---|
557 |
|
---|
558 | [14-alpn-no-server-support-resumption-resume-server]
|
---|
559 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
---|
560 | CipherString = DEFAULT
|
---|
561 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
---|
562 |
|
---|
563 | [14-alpn-no-server-support-resumption-client]
|
---|
564 | CipherString = DEFAULT
|
---|
565 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
---|
566 | VerifyMode = Peer
|
---|
567 |
|
---|
568 | [test-14]
|
---|
569 | HandshakeMode = Resume
|
---|
570 | ResumptionExpected = Yes
|
---|
571 | server = 14-alpn-no-server-support-resumption-server-extra
|
---|
572 | client = 14-alpn-no-server-support-resumption-client-extra
|
---|
573 | resume-client = 14-alpn-no-server-support-resumption-client-extra
|
---|
574 |
|
---|
575 | [14-alpn-no-server-support-resumption-server-extra]
|
---|
576 | ALPNProtocols = foo
|
---|
577 |
|
---|
578 | [14-alpn-no-server-support-resumption-client-extra]
|
---|
579 | ALPNProtocols = foo
|
---|
580 |
|
---|
581 |
|
---|
582 | # ===========================================================
|
---|
583 |
|
---|
584 | [15-alpn-no-client-support-resumption]
|
---|
585 | ssl_conf = 15-alpn-no-client-support-resumption-ssl
|
---|
586 |
|
---|
587 | [15-alpn-no-client-support-resumption-ssl]
|
---|
588 | server = 15-alpn-no-client-support-resumption-server
|
---|
589 | client = 15-alpn-no-client-support-resumption-client
|
---|
590 | resume-server = 15-alpn-no-client-support-resumption-server
|
---|
591 | resume-client = 15-alpn-no-client-support-resumption-resume-client
|
---|
592 |
|
---|
593 | [15-alpn-no-client-support-resumption-server]
|
---|
594 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
---|
595 | CipherString = DEFAULT
|
---|
596 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
---|
597 |
|
---|
598 | [15-alpn-no-client-support-resumption-client]
|
---|
599 | CipherString = DEFAULT
|
---|
600 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
---|
601 | VerifyMode = Peer
|
---|
602 |
|
---|
603 | [15-alpn-no-client-support-resumption-resume-client]
|
---|
604 | CipherString = DEFAULT
|
---|
605 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
---|
606 | VerifyMode = Peer
|
---|
607 |
|
---|
608 | [test-15]
|
---|
609 | HandshakeMode = Resume
|
---|
610 | ResumptionExpected = Yes
|
---|
611 | server = 15-alpn-no-client-support-resumption-server-extra
|
---|
612 | resume-server = 15-alpn-no-client-support-resumption-server-extra
|
---|
613 | client = 15-alpn-no-client-support-resumption-client-extra
|
---|
614 |
|
---|
615 | [15-alpn-no-client-support-resumption-server-extra]
|
---|
616 | ALPNProtocols = foo
|
---|
617 |
|
---|
618 | [15-alpn-no-client-support-resumption-client-extra]
|
---|
619 | ALPNProtocols = foo
|
---|
620 |
|
---|
621 |
|
---|
622 | # ===========================================================
|
---|
623 |
|
---|
624 | [16-alpn-empty-client-list]
|
---|
625 | ssl_conf = 16-alpn-empty-client-list-ssl
|
---|
626 |
|
---|
627 | [16-alpn-empty-client-list-ssl]
|
---|
628 | server = 16-alpn-empty-client-list-server
|
---|
629 | client = 16-alpn-empty-client-list-client
|
---|
630 |
|
---|
631 | [16-alpn-empty-client-list-server]
|
---|
632 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
---|
633 | CipherString = DEFAULT
|
---|
634 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
---|
635 |
|
---|
636 | [16-alpn-empty-client-list-client]
|
---|
637 | CipherString = DEFAULT
|
---|
638 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
---|
639 | VerifyMode = Peer
|
---|
640 |
|
---|
641 | [test-16]
|
---|
642 | server = 16-alpn-empty-client-list-server-extra
|
---|
643 | client = 16-alpn-empty-client-list-client-extra
|
---|
644 |
|
---|
645 | [16-alpn-empty-client-list-server-extra]
|
---|
646 | ALPNProtocols = foo
|
---|
647 |
|
---|
648 | [16-alpn-empty-client-list-client-extra]
|
---|
649 | ALPNProtocols =
|
---|
650 |
|
---|
651 |
|
---|
652 | # ===========================================================
|
---|
653 |
|
---|
654 | [17-alpn-empty-server-list]
|
---|
655 | ssl_conf = 17-alpn-empty-server-list-ssl
|
---|
656 |
|
---|
657 | [17-alpn-empty-server-list-ssl]
|
---|
658 | server = 17-alpn-empty-server-list-server
|
---|
659 | client = 17-alpn-empty-server-list-client
|
---|
660 |
|
---|
661 | [17-alpn-empty-server-list-server]
|
---|
662 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
---|
663 | CipherString = DEFAULT
|
---|
664 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
---|
665 |
|
---|
666 | [17-alpn-empty-server-list-client]
|
---|
667 | CipherString = DEFAULT
|
---|
668 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
---|
669 | VerifyMode = Peer
|
---|
670 |
|
---|
671 | [test-17]
|
---|
672 | ExpectedResult = ServerFail
|
---|
673 | ExpectedServerAlert = NoApplicationProtocol
|
---|
674 | server = 17-alpn-empty-server-list-server-extra
|
---|
675 | client = 17-alpn-empty-server-list-client-extra
|
---|
676 |
|
---|
677 | [17-alpn-empty-server-list-server-extra]
|
---|
678 | ALPNProtocols =
|
---|
679 |
|
---|
680 | [17-alpn-empty-server-list-client-extra]
|
---|
681 | ALPNProtocols = foo
|
---|
682 |
|
---|
683 |
|
---|