14-curves.cnf 20 KB

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