09-alpn.conf 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619
  1. # Generated with generate_ssl_tests.pl
  2. num_tests = 16
  3. test-0 = 0-alpn-simple
  4. test-1 = 1-alpn-server-finds-match
  5. test-2 = 2-alpn-server-honours-server-pref
  6. test-3 = 3-alpn-alert-on-mismatch
  7. test-4 = 4-alpn-no-server-support
  8. test-5 = 5-alpn-no-client-support
  9. test-6 = 6-alpn-with-sni-no-context-switch
  10. test-7 = 7-alpn-with-sni-context-switch
  11. test-8 = 8-alpn-selected-sni-server-supports-alpn
  12. test-9 = 9-alpn-selected-sni-server-does-not-support-alpn
  13. test-10 = 10-alpn-simple-resumption
  14. test-11 = 11-alpn-server-switch-resumption
  15. test-12 = 12-alpn-client-switch-resumption
  16. test-13 = 13-alpn-alert-on-mismatch-resumption
  17. test-14 = 14-alpn-no-server-support-resumption
  18. test-15 = 15-alpn-no-client-support-resumption
  19. # ===========================================================
  20. [0-alpn-simple]
  21. ssl_conf = 0-alpn-simple-ssl
  22. [0-alpn-simple-ssl]
  23. server = 0-alpn-simple-server
  24. client = 0-alpn-simple-client
  25. [0-alpn-simple-server]
  26. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  27. CipherString = DEFAULT
  28. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  29. [0-alpn-simple-client]
  30. CipherString = DEFAULT
  31. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  32. VerifyMode = Peer
  33. [test-0]
  34. ExpectedALPNProtocol = foo
  35. server = 0-alpn-simple-server-extra
  36. client = 0-alpn-simple-client-extra
  37. [0-alpn-simple-server-extra]
  38. ALPNProtocols = foo
  39. [0-alpn-simple-client-extra]
  40. ALPNProtocols = foo
  41. # ===========================================================
  42. [1-alpn-server-finds-match]
  43. ssl_conf = 1-alpn-server-finds-match-ssl
  44. [1-alpn-server-finds-match-ssl]
  45. server = 1-alpn-server-finds-match-server
  46. client = 1-alpn-server-finds-match-client
  47. [1-alpn-server-finds-match-server]
  48. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  49. CipherString = DEFAULT
  50. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  51. [1-alpn-server-finds-match-client]
  52. CipherString = DEFAULT
  53. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  54. VerifyMode = Peer
  55. [test-1]
  56. ExpectedALPNProtocol = bar
  57. server = 1-alpn-server-finds-match-server-extra
  58. client = 1-alpn-server-finds-match-client-extra
  59. [1-alpn-server-finds-match-server-extra]
  60. ALPNProtocols = baz,bar
  61. [1-alpn-server-finds-match-client-extra]
  62. ALPNProtocols = foo,bar
  63. # ===========================================================
  64. [2-alpn-server-honours-server-pref]
  65. ssl_conf = 2-alpn-server-honours-server-pref-ssl
  66. [2-alpn-server-honours-server-pref-ssl]
  67. server = 2-alpn-server-honours-server-pref-server
  68. client = 2-alpn-server-honours-server-pref-client
  69. [2-alpn-server-honours-server-pref-server]
  70. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  71. CipherString = DEFAULT
  72. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  73. [2-alpn-server-honours-server-pref-client]
  74. CipherString = DEFAULT
  75. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  76. VerifyMode = Peer
  77. [test-2]
  78. ExpectedALPNProtocol = bar
  79. server = 2-alpn-server-honours-server-pref-server-extra
  80. client = 2-alpn-server-honours-server-pref-client-extra
  81. [2-alpn-server-honours-server-pref-server-extra]
  82. ALPNProtocols = bar,foo
  83. [2-alpn-server-honours-server-pref-client-extra]
  84. ALPNProtocols = foo,bar
  85. # ===========================================================
  86. [3-alpn-alert-on-mismatch]
  87. ssl_conf = 3-alpn-alert-on-mismatch-ssl
  88. [3-alpn-alert-on-mismatch-ssl]
  89. server = 3-alpn-alert-on-mismatch-server
  90. client = 3-alpn-alert-on-mismatch-client
  91. [3-alpn-alert-on-mismatch-server]
  92. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  93. CipherString = DEFAULT
  94. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  95. [3-alpn-alert-on-mismatch-client]
  96. CipherString = DEFAULT
  97. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  98. VerifyMode = Peer
  99. [test-3]
  100. ExpectedResult = ServerFail
  101. ExpectedServerAlert = NoApplicationProtocol
  102. server = 3-alpn-alert-on-mismatch-server-extra
  103. client = 3-alpn-alert-on-mismatch-client-extra
  104. [3-alpn-alert-on-mismatch-server-extra]
  105. ALPNProtocols = baz
  106. [3-alpn-alert-on-mismatch-client-extra]
  107. ALPNProtocols = foo,bar
  108. # ===========================================================
  109. [4-alpn-no-server-support]
  110. ssl_conf = 4-alpn-no-server-support-ssl
  111. [4-alpn-no-server-support-ssl]
  112. server = 4-alpn-no-server-support-server
  113. client = 4-alpn-no-server-support-client
  114. [4-alpn-no-server-support-server]
  115. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  116. CipherString = DEFAULT
  117. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  118. [4-alpn-no-server-support-client]
  119. CipherString = DEFAULT
  120. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  121. VerifyMode = Peer
  122. [test-4]
  123. client = 4-alpn-no-server-support-client-extra
  124. [4-alpn-no-server-support-client-extra]
  125. ALPNProtocols = foo
  126. # ===========================================================
  127. [5-alpn-no-client-support]
  128. ssl_conf = 5-alpn-no-client-support-ssl
  129. [5-alpn-no-client-support-ssl]
  130. server = 5-alpn-no-client-support-server
  131. client = 5-alpn-no-client-support-client
  132. [5-alpn-no-client-support-server]
  133. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  134. CipherString = DEFAULT
  135. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  136. [5-alpn-no-client-support-client]
  137. CipherString = DEFAULT
  138. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  139. VerifyMode = Peer
  140. [test-5]
  141. server = 5-alpn-no-client-support-server-extra
  142. [5-alpn-no-client-support-server-extra]
  143. ALPNProtocols = foo
  144. # ===========================================================
  145. [6-alpn-with-sni-no-context-switch]
  146. ssl_conf = 6-alpn-with-sni-no-context-switch-ssl
  147. [6-alpn-with-sni-no-context-switch-ssl]
  148. server = 6-alpn-with-sni-no-context-switch-server
  149. client = 6-alpn-with-sni-no-context-switch-client
  150. server2 = 6-alpn-with-sni-no-context-switch-server2
  151. [6-alpn-with-sni-no-context-switch-server]
  152. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  153. CipherString = DEFAULT
  154. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  155. [6-alpn-with-sni-no-context-switch-server2]
  156. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  157. CipherString = DEFAULT
  158. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  159. [6-alpn-with-sni-no-context-switch-client]
  160. CipherString = DEFAULT
  161. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  162. VerifyMode = Peer
  163. [test-6]
  164. ExpectedALPNProtocol = foo
  165. ExpectedServerName = server1
  166. server = 6-alpn-with-sni-no-context-switch-server-extra
  167. server2 = 6-alpn-with-sni-no-context-switch-server2-extra
  168. client = 6-alpn-with-sni-no-context-switch-client-extra
  169. [6-alpn-with-sni-no-context-switch-server-extra]
  170. ALPNProtocols = foo
  171. ServerNameCallback = IgnoreMismatch
  172. [6-alpn-with-sni-no-context-switch-server2-extra]
  173. ALPNProtocols = bar
  174. [6-alpn-with-sni-no-context-switch-client-extra]
  175. ALPNProtocols = foo,bar
  176. ServerName = server1
  177. # ===========================================================
  178. [7-alpn-with-sni-context-switch]
  179. ssl_conf = 7-alpn-with-sni-context-switch-ssl
  180. [7-alpn-with-sni-context-switch-ssl]
  181. server = 7-alpn-with-sni-context-switch-server
  182. client = 7-alpn-with-sni-context-switch-client
  183. server2 = 7-alpn-with-sni-context-switch-server2
  184. [7-alpn-with-sni-context-switch-server]
  185. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  186. CipherString = DEFAULT
  187. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  188. [7-alpn-with-sni-context-switch-server2]
  189. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  190. CipherString = DEFAULT
  191. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  192. [7-alpn-with-sni-context-switch-client]
  193. CipherString = DEFAULT
  194. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  195. VerifyMode = Peer
  196. [test-7]
  197. ExpectedALPNProtocol = bar
  198. ExpectedServerName = server2
  199. server = 7-alpn-with-sni-context-switch-server-extra
  200. server2 = 7-alpn-with-sni-context-switch-server2-extra
  201. client = 7-alpn-with-sni-context-switch-client-extra
  202. [7-alpn-with-sni-context-switch-server-extra]
  203. ALPNProtocols = foo
  204. ServerNameCallback = IgnoreMismatch
  205. [7-alpn-with-sni-context-switch-server2-extra]
  206. ALPNProtocols = bar
  207. [7-alpn-with-sni-context-switch-client-extra]
  208. ALPNProtocols = foo,bar
  209. ServerName = server2
  210. # ===========================================================
  211. [8-alpn-selected-sni-server-supports-alpn]
  212. ssl_conf = 8-alpn-selected-sni-server-supports-alpn-ssl
  213. [8-alpn-selected-sni-server-supports-alpn-ssl]
  214. server = 8-alpn-selected-sni-server-supports-alpn-server
  215. client = 8-alpn-selected-sni-server-supports-alpn-client
  216. server2 = 8-alpn-selected-sni-server-supports-alpn-server2
  217. [8-alpn-selected-sni-server-supports-alpn-server]
  218. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  219. CipherString = DEFAULT
  220. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  221. [8-alpn-selected-sni-server-supports-alpn-server2]
  222. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  223. CipherString = DEFAULT
  224. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  225. [8-alpn-selected-sni-server-supports-alpn-client]
  226. CipherString = DEFAULT
  227. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  228. VerifyMode = Peer
  229. [test-8]
  230. ExpectedALPNProtocol = bar
  231. ExpectedServerName = server2
  232. server = 8-alpn-selected-sni-server-supports-alpn-server-extra
  233. server2 = 8-alpn-selected-sni-server-supports-alpn-server2-extra
  234. client = 8-alpn-selected-sni-server-supports-alpn-client-extra
  235. [8-alpn-selected-sni-server-supports-alpn-server-extra]
  236. ServerNameCallback = IgnoreMismatch
  237. [8-alpn-selected-sni-server-supports-alpn-server2-extra]
  238. ALPNProtocols = bar
  239. [8-alpn-selected-sni-server-supports-alpn-client-extra]
  240. ALPNProtocols = foo,bar
  241. ServerName = server2
  242. # ===========================================================
  243. [9-alpn-selected-sni-server-does-not-support-alpn]
  244. ssl_conf = 9-alpn-selected-sni-server-does-not-support-alpn-ssl
  245. [9-alpn-selected-sni-server-does-not-support-alpn-ssl]
  246. server = 9-alpn-selected-sni-server-does-not-support-alpn-server
  247. client = 9-alpn-selected-sni-server-does-not-support-alpn-client
  248. server2 = 9-alpn-selected-sni-server-does-not-support-alpn-server2
  249. [9-alpn-selected-sni-server-does-not-support-alpn-server]
  250. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  251. CipherString = DEFAULT
  252. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  253. [9-alpn-selected-sni-server-does-not-support-alpn-server2]
  254. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  255. CipherString = DEFAULT
  256. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  257. [9-alpn-selected-sni-server-does-not-support-alpn-client]
  258. CipherString = DEFAULT
  259. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  260. VerifyMode = Peer
  261. [test-9]
  262. ExpectedServerName = server2
  263. server = 9-alpn-selected-sni-server-does-not-support-alpn-server-extra
  264. client = 9-alpn-selected-sni-server-does-not-support-alpn-client-extra
  265. [9-alpn-selected-sni-server-does-not-support-alpn-server-extra]
  266. ALPNProtocols = bar
  267. ServerNameCallback = IgnoreMismatch
  268. [9-alpn-selected-sni-server-does-not-support-alpn-client-extra]
  269. ALPNProtocols = foo,bar
  270. ServerName = server2
  271. # ===========================================================
  272. [10-alpn-simple-resumption]
  273. ssl_conf = 10-alpn-simple-resumption-ssl
  274. [10-alpn-simple-resumption-ssl]
  275. server = 10-alpn-simple-resumption-server
  276. client = 10-alpn-simple-resumption-client
  277. resume-server = 10-alpn-simple-resumption-server
  278. resume-client = 10-alpn-simple-resumption-client
  279. [10-alpn-simple-resumption-server]
  280. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  281. CipherString = DEFAULT
  282. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  283. [10-alpn-simple-resumption-client]
  284. CipherString = DEFAULT
  285. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  286. VerifyMode = Peer
  287. [test-10]
  288. ExpectedALPNProtocol = foo
  289. HandshakeMode = Resume
  290. ResumptionExpected = Yes
  291. server = 10-alpn-simple-resumption-server-extra
  292. resume-server = 10-alpn-simple-resumption-server-extra
  293. client = 10-alpn-simple-resumption-client-extra
  294. resume-client = 10-alpn-simple-resumption-client-extra
  295. [10-alpn-simple-resumption-server-extra]
  296. ALPNProtocols = foo
  297. [10-alpn-simple-resumption-client-extra]
  298. ALPNProtocols = foo
  299. # ===========================================================
  300. [11-alpn-server-switch-resumption]
  301. ssl_conf = 11-alpn-server-switch-resumption-ssl
  302. [11-alpn-server-switch-resumption-ssl]
  303. server = 11-alpn-server-switch-resumption-server
  304. client = 11-alpn-server-switch-resumption-client
  305. resume-server = 11-alpn-server-switch-resumption-resume-server
  306. resume-client = 11-alpn-server-switch-resumption-client
  307. [11-alpn-server-switch-resumption-server]
  308. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  309. CipherString = DEFAULT
  310. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  311. [11-alpn-server-switch-resumption-resume-server]
  312. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  313. CipherString = DEFAULT
  314. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  315. [11-alpn-server-switch-resumption-client]
  316. CipherString = DEFAULT
  317. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  318. VerifyMode = Peer
  319. [test-11]
  320. ExpectedALPNProtocol = baz
  321. HandshakeMode = Resume
  322. ResumptionExpected = Yes
  323. server = 11-alpn-server-switch-resumption-server-extra
  324. resume-server = 11-alpn-server-switch-resumption-resume-server-extra
  325. client = 11-alpn-server-switch-resumption-client-extra
  326. resume-client = 11-alpn-server-switch-resumption-client-extra
  327. [11-alpn-server-switch-resumption-server-extra]
  328. ALPNProtocols = bar,foo
  329. [11-alpn-server-switch-resumption-resume-server-extra]
  330. ALPNProtocols = baz,foo
  331. [11-alpn-server-switch-resumption-client-extra]
  332. ALPNProtocols = foo,bar,baz
  333. # ===========================================================
  334. [12-alpn-client-switch-resumption]
  335. ssl_conf = 12-alpn-client-switch-resumption-ssl
  336. [12-alpn-client-switch-resumption-ssl]
  337. server = 12-alpn-client-switch-resumption-server
  338. client = 12-alpn-client-switch-resumption-client
  339. resume-server = 12-alpn-client-switch-resumption-server
  340. resume-client = 12-alpn-client-switch-resumption-resume-client
  341. [12-alpn-client-switch-resumption-server]
  342. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  343. CipherString = DEFAULT
  344. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  345. [12-alpn-client-switch-resumption-client]
  346. CipherString = DEFAULT
  347. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  348. VerifyMode = Peer
  349. [12-alpn-client-switch-resumption-resume-client]
  350. CipherString = DEFAULT
  351. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  352. VerifyMode = Peer
  353. [test-12]
  354. ExpectedALPNProtocol = bar
  355. HandshakeMode = Resume
  356. ResumptionExpected = Yes
  357. server = 12-alpn-client-switch-resumption-server-extra
  358. resume-server = 12-alpn-client-switch-resumption-server-extra
  359. client = 12-alpn-client-switch-resumption-client-extra
  360. resume-client = 12-alpn-client-switch-resumption-resume-client-extra
  361. [12-alpn-client-switch-resumption-server-extra]
  362. ALPNProtocols = foo,bar,baz
  363. [12-alpn-client-switch-resumption-client-extra]
  364. ALPNProtocols = foo,baz
  365. [12-alpn-client-switch-resumption-resume-client-extra]
  366. ALPNProtocols = bar,baz
  367. # ===========================================================
  368. [13-alpn-alert-on-mismatch-resumption]
  369. ssl_conf = 13-alpn-alert-on-mismatch-resumption-ssl
  370. [13-alpn-alert-on-mismatch-resumption-ssl]
  371. server = 13-alpn-alert-on-mismatch-resumption-server
  372. client = 13-alpn-alert-on-mismatch-resumption-client
  373. resume-server = 13-alpn-alert-on-mismatch-resumption-resume-server
  374. resume-client = 13-alpn-alert-on-mismatch-resumption-client
  375. [13-alpn-alert-on-mismatch-resumption-server]
  376. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  377. CipherString = DEFAULT
  378. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  379. [13-alpn-alert-on-mismatch-resumption-resume-server]
  380. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  381. CipherString = DEFAULT
  382. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  383. [13-alpn-alert-on-mismatch-resumption-client]
  384. CipherString = DEFAULT
  385. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  386. VerifyMode = Peer
  387. [test-13]
  388. ExpectedResult = ServerFail
  389. ExpectedServerAlert = NoApplicationProtocol
  390. HandshakeMode = Resume
  391. server = 13-alpn-alert-on-mismatch-resumption-server-extra
  392. resume-server = 13-alpn-alert-on-mismatch-resumption-resume-server-extra
  393. client = 13-alpn-alert-on-mismatch-resumption-client-extra
  394. resume-client = 13-alpn-alert-on-mismatch-resumption-client-extra
  395. [13-alpn-alert-on-mismatch-resumption-server-extra]
  396. ALPNProtocols = bar
  397. [13-alpn-alert-on-mismatch-resumption-resume-server-extra]
  398. ALPNProtocols = baz
  399. [13-alpn-alert-on-mismatch-resumption-client-extra]
  400. ALPNProtocols = foo,bar
  401. # ===========================================================
  402. [14-alpn-no-server-support-resumption]
  403. ssl_conf = 14-alpn-no-server-support-resumption-ssl
  404. [14-alpn-no-server-support-resumption-ssl]
  405. server = 14-alpn-no-server-support-resumption-server
  406. client = 14-alpn-no-server-support-resumption-client
  407. resume-server = 14-alpn-no-server-support-resumption-resume-server
  408. resume-client = 14-alpn-no-server-support-resumption-client
  409. [14-alpn-no-server-support-resumption-server]
  410. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  411. CipherString = DEFAULT
  412. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  413. [14-alpn-no-server-support-resumption-resume-server]
  414. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  415. CipherString = DEFAULT
  416. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  417. [14-alpn-no-server-support-resumption-client]
  418. CipherString = DEFAULT
  419. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  420. VerifyMode = Peer
  421. [test-14]
  422. HandshakeMode = Resume
  423. ResumptionExpected = Yes
  424. server = 14-alpn-no-server-support-resumption-server-extra
  425. client = 14-alpn-no-server-support-resumption-client-extra
  426. resume-client = 14-alpn-no-server-support-resumption-client-extra
  427. [14-alpn-no-server-support-resumption-server-extra]
  428. ALPNProtocols = foo
  429. [14-alpn-no-server-support-resumption-client-extra]
  430. ALPNProtocols = foo
  431. # ===========================================================
  432. [15-alpn-no-client-support-resumption]
  433. ssl_conf = 15-alpn-no-client-support-resumption-ssl
  434. [15-alpn-no-client-support-resumption-ssl]
  435. server = 15-alpn-no-client-support-resumption-server
  436. client = 15-alpn-no-client-support-resumption-client
  437. resume-server = 15-alpn-no-client-support-resumption-server
  438. resume-client = 15-alpn-no-client-support-resumption-resume-client
  439. [15-alpn-no-client-support-resumption-server]
  440. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  441. CipherString = DEFAULT
  442. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  443. [15-alpn-no-client-support-resumption-client]
  444. CipherString = DEFAULT
  445. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  446. VerifyMode = Peer
  447. [15-alpn-no-client-support-resumption-resume-client]
  448. CipherString = DEFAULT
  449. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  450. VerifyMode = Peer
  451. [test-15]
  452. HandshakeMode = Resume
  453. ResumptionExpected = Yes
  454. server = 15-alpn-no-client-support-resumption-server-extra
  455. resume-server = 15-alpn-no-client-support-resumption-server-extra
  456. client = 15-alpn-no-client-support-resumption-client-extra
  457. [15-alpn-no-client-support-resumption-server-extra]
  458. ALPNProtocols = foo
  459. [15-alpn-no-client-support-resumption-client-extra]
  460. ALPNProtocols = foo