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