1 # Generated with generate_ssl_tests.pl
6 test-1 = 1-npn-client-finds-match
7 test-2 = 2-npn-client-honours-server-pref
8 test-3 = 3-npn-client-first-pref-on-mismatch
9 test-4 = 4-npn-no-server-support
10 test-5 = 5-npn-no-client-support
11 test-6 = 6-npn-with-sni-no-context-switch
12 test-7 = 7-npn-with-sni-context-switch
13 test-8 = 8-npn-selected-sni-server-supports-npn
14 test-9 = 9-npn-selected-sni-server-does-not-support-npn
15 test-10 = 10-alpn-preferred-over-npn
16 test-11 = 11-sni-npn-preferred-over-alpn
17 # ===========================================================
20 ssl_conf = 0-npn-simple-ssl
23 server = 0-npn-simple-server
24 client = 0-npn-simple-client
27 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
28 CipherString = DEFAULT
29 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
32 CipherString = DEFAULT
33 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
37 ClientNPNProtocols = foo
38 ExpectedNPNProtocol = foo
39 ServerNPNProtocols = foo
42 # ===========================================================
44 [1-npn-client-finds-match]
45 ssl_conf = 1-npn-client-finds-match-ssl
47 [1-npn-client-finds-match-ssl]
48 server = 1-npn-client-finds-match-server
49 client = 1-npn-client-finds-match-client
51 [1-npn-client-finds-match-server]
52 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
53 CipherString = DEFAULT
54 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
56 [1-npn-client-finds-match-client]
57 CipherString = DEFAULT
58 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
62 ClientNPNProtocols = foo,bar
63 ExpectedNPNProtocol = bar
64 ServerNPNProtocols = baz,bar
67 # ===========================================================
69 [2-npn-client-honours-server-pref]
70 ssl_conf = 2-npn-client-honours-server-pref-ssl
72 [2-npn-client-honours-server-pref-ssl]
73 server = 2-npn-client-honours-server-pref-server
74 client = 2-npn-client-honours-server-pref-client
76 [2-npn-client-honours-server-pref-server]
77 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
78 CipherString = DEFAULT
79 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
81 [2-npn-client-honours-server-pref-client]
82 CipherString = DEFAULT
83 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
87 ClientNPNProtocols = foo,bar
88 ExpectedNPNProtocol = bar
89 ServerNPNProtocols = bar,foo
92 # ===========================================================
94 [3-npn-client-first-pref-on-mismatch]
95 ssl_conf = 3-npn-client-first-pref-on-mismatch-ssl
97 [3-npn-client-first-pref-on-mismatch-ssl]
98 server = 3-npn-client-first-pref-on-mismatch-server
99 client = 3-npn-client-first-pref-on-mismatch-client
101 [3-npn-client-first-pref-on-mismatch-server]
102 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
103 CipherString = DEFAULT
104 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
106 [3-npn-client-first-pref-on-mismatch-client]
107 CipherString = DEFAULT
108 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
112 ClientNPNProtocols = foo,bar
113 ExpectedNPNProtocol = foo
114 ServerNPNProtocols = baz
117 # ===========================================================
119 [4-npn-no-server-support]
120 ssl_conf = 4-npn-no-server-support-ssl
122 [4-npn-no-server-support-ssl]
123 server = 4-npn-no-server-support-server
124 client = 4-npn-no-server-support-client
126 [4-npn-no-server-support-server]
127 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
128 CipherString = DEFAULT
129 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
131 [4-npn-no-server-support-client]
132 CipherString = DEFAULT
133 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
137 ClientNPNProtocols = foo
140 # ===========================================================
142 [5-npn-no-client-support]
143 ssl_conf = 5-npn-no-client-support-ssl
145 [5-npn-no-client-support-ssl]
146 server = 5-npn-no-client-support-server
147 client = 5-npn-no-client-support-client
149 [5-npn-no-client-support-server]
150 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
151 CipherString = DEFAULT
152 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
154 [5-npn-no-client-support-client]
155 CipherString = DEFAULT
156 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
160 ServerNPNProtocols = foo
163 # ===========================================================
165 [6-npn-with-sni-no-context-switch]
166 ssl_conf = 6-npn-with-sni-no-context-switch-ssl
168 [6-npn-with-sni-no-context-switch-ssl]
169 server = 6-npn-with-sni-no-context-switch-server
170 client = 6-npn-with-sni-no-context-switch-client
171 server2 = 6-npn-with-sni-no-context-switch-server2
173 [6-npn-with-sni-no-context-switch-server]
174 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
175 CipherString = DEFAULT
176 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
178 [6-npn-with-sni-no-context-switch-server2]
179 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
180 CipherString = DEFAULT
181 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
183 [6-npn-with-sni-no-context-switch-client]
184 CipherString = DEFAULT
185 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
189 ClientNPNProtocols = foo,bar
190 ExpectedNPNProtocol = foo
191 ExpectedServerName = server1
192 Server2NPNProtocols = bar
193 ServerNPNProtocols = foo
195 ServerNameCallback = IgnoreMismatch
198 # ===========================================================
200 [7-npn-with-sni-context-switch]
201 ssl_conf = 7-npn-with-sni-context-switch-ssl
203 [7-npn-with-sni-context-switch-ssl]
204 server = 7-npn-with-sni-context-switch-server
205 client = 7-npn-with-sni-context-switch-client
206 server2 = 7-npn-with-sni-context-switch-server2
208 [7-npn-with-sni-context-switch-server]
209 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
210 CipherString = DEFAULT
211 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
213 [7-npn-with-sni-context-switch-server2]
214 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
215 CipherString = DEFAULT
216 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
218 [7-npn-with-sni-context-switch-client]
219 CipherString = DEFAULT
220 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
224 ClientNPNProtocols = foo,bar
225 ExpectedNPNProtocol = bar
226 ExpectedServerName = server2
227 Server2NPNProtocols = bar
228 ServerNPNProtocols = foo
230 ServerNameCallback = IgnoreMismatch
233 # ===========================================================
235 [8-npn-selected-sni-server-supports-npn]
236 ssl_conf = 8-npn-selected-sni-server-supports-npn-ssl
238 [8-npn-selected-sni-server-supports-npn-ssl]
239 server = 8-npn-selected-sni-server-supports-npn-server
240 client = 8-npn-selected-sni-server-supports-npn-client
241 server2 = 8-npn-selected-sni-server-supports-npn-server2
243 [8-npn-selected-sni-server-supports-npn-server]
244 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
245 CipherString = DEFAULT
246 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
248 [8-npn-selected-sni-server-supports-npn-server2]
249 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
250 CipherString = DEFAULT
251 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
253 [8-npn-selected-sni-server-supports-npn-client]
254 CipherString = DEFAULT
255 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
259 ClientNPNProtocols = foo,bar
260 ExpectedNPNProtocol = bar
261 ExpectedServerName = server2
262 Server2NPNProtocols = bar
264 ServerNameCallback = IgnoreMismatch
267 # ===========================================================
269 [9-npn-selected-sni-server-does-not-support-npn]
270 ssl_conf = 9-npn-selected-sni-server-does-not-support-npn-ssl
272 [9-npn-selected-sni-server-does-not-support-npn-ssl]
273 server = 9-npn-selected-sni-server-does-not-support-npn-server
274 client = 9-npn-selected-sni-server-does-not-support-npn-client
275 server2 = 9-npn-selected-sni-server-does-not-support-npn-server2
277 [9-npn-selected-sni-server-does-not-support-npn-server]
278 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
279 CipherString = DEFAULT
280 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
282 [9-npn-selected-sni-server-does-not-support-npn-server2]
283 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
284 CipherString = DEFAULT
285 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
287 [9-npn-selected-sni-server-does-not-support-npn-client]
288 CipherString = DEFAULT
289 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
293 ClientNPNProtocols = foo,bar
294 ExpectedServerName = server2
295 ServerNPNProtocols = foo
297 ServerNameCallback = IgnoreMismatch
300 # ===========================================================
302 [10-alpn-preferred-over-npn]
303 ssl_conf = 10-alpn-preferred-over-npn-ssl
305 [10-alpn-preferred-over-npn-ssl]
306 server = 10-alpn-preferred-over-npn-server
307 client = 10-alpn-preferred-over-npn-client
309 [10-alpn-preferred-over-npn-server]
310 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
311 CipherString = DEFAULT
312 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
314 [10-alpn-preferred-over-npn-client]
315 CipherString = DEFAULT
316 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
320 ClientALPNProtocols = foo
321 ClientNPNProtocols = bar
322 ExpectedALPNProtocol = foo
323 ServerALPNProtocols = foo
324 ServerNPNProtocols = bar
327 # ===========================================================
329 [11-sni-npn-preferred-over-alpn]
330 ssl_conf = 11-sni-npn-preferred-over-alpn-ssl
332 [11-sni-npn-preferred-over-alpn-ssl]
333 server = 11-sni-npn-preferred-over-alpn-server
334 client = 11-sni-npn-preferred-over-alpn-client
335 server2 = 11-sni-npn-preferred-over-alpn-server2
337 [11-sni-npn-preferred-over-alpn-server]
338 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
339 CipherString = DEFAULT
340 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
342 [11-sni-npn-preferred-over-alpn-server2]
343 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
344 CipherString = DEFAULT
345 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
347 [11-sni-npn-preferred-over-alpn-client]
348 CipherString = DEFAULT
349 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
353 ClientALPNProtocols = foo
354 ClientNPNProtocols = bar
355 ExpectedNPNProtocol = bar
356 ExpectedServerName = server2
357 Server2NPNProtocols = bar
358 ServerALPNProtocols = foo
360 ServerNameCallback = IgnoreMismatch