20-cert-select.cnf 64 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816
  1. # Generated with generate_ssl_tests.pl
  2. num_tests = 56
  3. test-0 = 0-ECDSA CipherString Selection
  4. test-1 = 1-ECDSA CipherString Selection
  5. test-2 = 2-ECDSA CipherString Selection
  6. test-3 = 3-RSA CipherString Selection
  7. test-4 = 4-P-256 CipherString and Signature Algorithm Selection
  8. test-5 = 5-ECDSA CipherString Selection, no ECDSA certificate
  9. test-6 = 6-ECDSA Signature Algorithm Selection
  10. test-7 = 7-ECDSA Signature Algorithm Selection SHA384
  11. test-8 = 8-ECDSA Signature Algorithm Selection SHA1
  12. test-9 = 9-ECDSA Signature Algorithm Selection compressed point
  13. test-10 = 10-ECDSA Signature Algorithm Selection, no ECDSA certificate
  14. test-11 = 11-RSA Signature Algorithm Selection
  15. test-12 = 12-RSA-PSS Signature Algorithm Selection
  16. test-13 = 13-RSA key exchange with all RSA certificate types
  17. test-14 = 14-Suite B P-256 Hash Algorithm Selection
  18. test-15 = 15-Suite B P-384 Hash Algorithm Selection
  19. test-16 = 16-Ed25519 CipherString and Signature Algorithm Selection
  20. test-17 = 17-Ed448 CipherString and Signature Algorithm Selection
  21. test-18 = 18-ECDSA with brainpool
  22. test-19 = 19-Ed25519 CipherString and Curves Selection
  23. test-20 = 20-Ed448 CipherString and Curves Selection
  24. test-21 = 21-TLS 1.2 Ed25519 Client Auth
  25. test-22 = 22-TLS 1.2 Ed448 Client Auth
  26. test-23 = 23-RSA-PSS Certificate CipherString Selection
  27. test-24 = 24-RSA-PSS Certificate Legacy Signature Algorithm Selection
  28. test-25 = 25-RSA-PSS Certificate Unified Signature Algorithm Selection
  29. test-26 = 26-Only RSA-PSS Certificate
  30. test-27 = 27-Only RSA-PSS Certificate Valid Signature Algorithms
  31. test-28 = 28-RSA-PSS Certificate, no PSS signature algorithms
  32. test-29 = 29-Only RSA-PSS Restricted Certificate
  33. test-30 = 30-RSA-PSS Restricted Certificate Valid Signature Algorithms
  34. test-31 = 31-RSA-PSS Restricted Cert client prefers invalid Signature Algorithm
  35. test-32 = 32-RSA-PSS Restricted Certificate Invalid Signature Algorithms
  36. test-33 = 33-RSA key exchange with only RSA-PSS certificate
  37. test-34 = 34-Only RSA-PSS Certificate, TLS v1.1
  38. test-35 = 35-TLS 1.3 ECDSA Signature Algorithm Selection
  39. test-36 = 36-TLS 1.3 ECDSA Signature Algorithm Selection compressed point
  40. test-37 = 37-TLS 1.3 ECDSA Signature Algorithm Selection SHA1
  41. test-38 = 38-TLS 1.3 ECDSA Signature Algorithm Selection with PSS
  42. test-39 = 39-TLS 1.3 RSA Signature Algorithm Selection SHA384 with PSS
  43. test-40 = 40-TLS 1.3 ECDSA Signature Algorithm Selection, no ECDSA certificate
  44. test-41 = 41-TLS 1.3 RSA Signature Algorithm Selection, no PSS
  45. test-42 = 42-TLS 1.3 RSA-PSS Signature Algorithm Selection
  46. test-43 = 43-TLS 1.3 RSA Client Auth Signature Algorithm Selection
  47. test-44 = 44-TLS 1.3 RSA Client Auth Signature Algorithm Selection non-empty CA Names
  48. test-45 = 45-TLS 1.3 ECDSA Client Auth Signature Algorithm Selection
  49. test-46 = 46-TLS 1.3 Ed25519 Signature Algorithm Selection
  50. test-47 = 47-TLS 1.3 Ed448 Signature Algorithm Selection
  51. test-48 = 48-TLS 1.3 Ed25519 CipherString and Groups Selection
  52. test-49 = 49-TLS 1.3 Ed448 CipherString and Groups Selection
  53. test-50 = 50-TLS 1.3 Ed25519 Client Auth
  54. test-51 = 51-TLS 1.3 Ed448 Client Auth
  55. test-52 = 52-TLS 1.3 ECDSA with brainpool
  56. test-53 = 53-TLS 1.2 DSA Certificate Test
  57. test-54 = 54-TLS 1.3 Client Auth No TLS 1.3 Signature Algorithms
  58. test-55 = 55-TLS 1.3 DSA Certificate Test
  59. # ===========================================================
  60. [0-ECDSA CipherString Selection]
  61. ssl_conf = 0-ECDSA CipherString Selection-ssl
  62. [0-ECDSA CipherString Selection-ssl]
  63. server = 0-ECDSA CipherString Selection-server
  64. client = 0-ECDSA CipherString Selection-client
  65. [0-ECDSA CipherString Selection-server]
  66. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  67. CipherString = DEFAULT
  68. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  69. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  70. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  71. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  72. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  73. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  74. MaxProtocol = TLSv1.2
  75. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  76. [0-ECDSA CipherString Selection-client]
  77. CipherString = aECDSA
  78. MaxProtocol = TLSv1.2
  79. RequestCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  80. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  81. VerifyMode = Peer
  82. [test-0]
  83. ExpectedResult = Success
  84. ExpectedServerCANames = empty
  85. ExpectedServerCertType = P-256
  86. ExpectedServerSignType = EC
  87. # ===========================================================
  88. [1-ECDSA CipherString Selection]
  89. ssl_conf = 1-ECDSA CipherString Selection-ssl
  90. [1-ECDSA CipherString Selection-ssl]
  91. server = 1-ECDSA CipherString Selection-server
  92. client = 1-ECDSA CipherString Selection-client
  93. [1-ECDSA CipherString Selection-server]
  94. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  95. CipherString = DEFAULT
  96. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  97. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  98. Groups = P-384
  99. MaxProtocol = TLSv1.2
  100. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  101. [1-ECDSA CipherString Selection-client]
  102. CipherString = aECDSA
  103. Groups = P-256:P-384
  104. MaxProtocol = TLSv1.2
  105. RequestCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  106. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  107. VerifyMode = Peer
  108. [test-1]
  109. ExpectedResult = Success
  110. ExpectedServerCANames = empty
  111. ExpectedServerCertType = P-256
  112. ExpectedServerSignType = EC
  113. # ===========================================================
  114. [2-ECDSA CipherString Selection]
  115. ssl_conf = 2-ECDSA CipherString Selection-ssl
  116. [2-ECDSA CipherString Selection-ssl]
  117. server = 2-ECDSA CipherString Selection-server
  118. client = 2-ECDSA CipherString Selection-client
  119. [2-ECDSA CipherString Selection-server]
  120. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  121. CipherString = DEFAULT
  122. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  123. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  124. Groups = P-256:P-384
  125. MaxProtocol = TLSv1.2
  126. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  127. [2-ECDSA CipherString Selection-client]
  128. CipherString = aECDSA
  129. Groups = P-384
  130. MaxProtocol = TLSv1.2
  131. RequestCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  132. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  133. VerifyMode = Peer
  134. [test-2]
  135. ExpectedResult = ServerFail
  136. # ===========================================================
  137. [3-RSA CipherString Selection]
  138. ssl_conf = 3-RSA CipherString Selection-ssl
  139. [3-RSA CipherString Selection-ssl]
  140. server = 3-RSA CipherString Selection-server
  141. client = 3-RSA CipherString Selection-client
  142. [3-RSA CipherString Selection-server]
  143. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  144. CipherString = DEFAULT
  145. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  146. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  147. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  148. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  149. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  150. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  151. MaxProtocol = TLSv1.2
  152. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  153. [3-RSA CipherString Selection-client]
  154. CipherString = aRSA
  155. MaxProtocol = TLSv1.2
  156. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  157. VerifyMode = Peer
  158. [test-3]
  159. ExpectedResult = Success
  160. ExpectedServerCertType = RSA
  161. ExpectedServerSignType = RSA-PSS
  162. # ===========================================================
  163. [4-P-256 CipherString and Signature Algorithm Selection]
  164. ssl_conf = 4-P-256 CipherString and Signature Algorithm Selection-ssl
  165. [4-P-256 CipherString and Signature Algorithm Selection-ssl]
  166. server = 4-P-256 CipherString and Signature Algorithm Selection-server
  167. client = 4-P-256 CipherString and Signature Algorithm Selection-client
  168. [4-P-256 CipherString and Signature Algorithm Selection-server]
  169. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  170. CipherString = DEFAULT
  171. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  172. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  173. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  174. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  175. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  176. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  177. MaxProtocol = TLSv1.2
  178. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  179. [4-P-256 CipherString and Signature Algorithm Selection-client]
  180. CipherString = aECDSA
  181. MaxProtocol = TLSv1.2
  182. SignatureAlgorithms = ECDSA+SHA256:ed25519
  183. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  184. VerifyMode = Peer
  185. [test-4]
  186. ExpectedResult = Success
  187. ExpectedServerCertType = P-256
  188. ExpectedServerSignHash = SHA256
  189. ExpectedServerSignType = EC
  190. # ===========================================================
  191. [5-ECDSA CipherString Selection, no ECDSA certificate]
  192. ssl_conf = 5-ECDSA CipherString Selection, no ECDSA certificate-ssl
  193. [5-ECDSA CipherString Selection, no ECDSA certificate-ssl]
  194. server = 5-ECDSA CipherString Selection, no ECDSA certificate-server
  195. client = 5-ECDSA CipherString Selection, no ECDSA certificate-client
  196. [5-ECDSA CipherString Selection, no ECDSA certificate-server]
  197. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  198. CipherString = DEFAULT
  199. MaxProtocol = TLSv1.2
  200. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  201. [5-ECDSA CipherString Selection, no ECDSA certificate-client]
  202. CipherString = aECDSA
  203. MaxProtocol = TLSv1.2
  204. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  205. VerifyMode = Peer
  206. [test-5]
  207. ExpectedResult = ServerFail
  208. # ===========================================================
  209. [6-ECDSA Signature Algorithm Selection]
  210. ssl_conf = 6-ECDSA Signature Algorithm Selection-ssl
  211. [6-ECDSA Signature Algorithm Selection-ssl]
  212. server = 6-ECDSA Signature Algorithm Selection-server
  213. client = 6-ECDSA Signature Algorithm Selection-client
  214. [6-ECDSA Signature Algorithm Selection-server]
  215. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  216. CipherString = DEFAULT
  217. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  218. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  219. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  220. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  221. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  222. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  223. MaxProtocol = TLSv1.2
  224. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  225. [6-ECDSA Signature Algorithm Selection-client]
  226. CipherString = DEFAULT
  227. SignatureAlgorithms = ECDSA+SHA256
  228. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  229. VerifyMode = Peer
  230. [test-6]
  231. ExpectedResult = Success
  232. ExpectedServerCertType = P-256
  233. ExpectedServerSignHash = SHA256
  234. ExpectedServerSignType = EC
  235. # ===========================================================
  236. [7-ECDSA Signature Algorithm Selection SHA384]
  237. ssl_conf = 7-ECDSA Signature Algorithm Selection SHA384-ssl
  238. [7-ECDSA Signature Algorithm Selection SHA384-ssl]
  239. server = 7-ECDSA Signature Algorithm Selection SHA384-server
  240. client = 7-ECDSA Signature Algorithm Selection SHA384-client
  241. [7-ECDSA Signature Algorithm Selection SHA384-server]
  242. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  243. CipherString = DEFAULT
  244. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  245. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  246. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  247. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  248. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  249. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  250. MaxProtocol = TLSv1.2
  251. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  252. [7-ECDSA Signature Algorithm Selection SHA384-client]
  253. CipherString = DEFAULT
  254. SignatureAlgorithms = ECDSA+SHA384
  255. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  256. VerifyMode = Peer
  257. [test-7]
  258. ExpectedResult = Success
  259. ExpectedServerCertType = P-256
  260. ExpectedServerSignHash = SHA384
  261. ExpectedServerSignType = EC
  262. # ===========================================================
  263. [8-ECDSA Signature Algorithm Selection SHA1]
  264. ssl_conf = 8-ECDSA Signature Algorithm Selection SHA1-ssl
  265. [8-ECDSA Signature Algorithm Selection SHA1-ssl]
  266. server = 8-ECDSA Signature Algorithm Selection SHA1-server
  267. client = 8-ECDSA Signature Algorithm Selection SHA1-client
  268. [8-ECDSA Signature Algorithm Selection SHA1-server]
  269. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  270. CipherString = DEFAULT
  271. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  272. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  273. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  274. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  275. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  276. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  277. MaxProtocol = TLSv1.2
  278. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  279. [8-ECDSA Signature Algorithm Selection SHA1-client]
  280. CipherString = DEFAULT
  281. SignatureAlgorithms = ECDSA+SHA1
  282. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  283. VerifyMode = Peer
  284. [test-8]
  285. ExpectedResult = Success
  286. ExpectedServerCertType = P-256
  287. ExpectedServerSignHash = SHA1
  288. ExpectedServerSignType = EC
  289. # ===========================================================
  290. [9-ECDSA Signature Algorithm Selection compressed point]
  291. ssl_conf = 9-ECDSA Signature Algorithm Selection compressed point-ssl
  292. [9-ECDSA Signature Algorithm Selection compressed point-ssl]
  293. server = 9-ECDSA Signature Algorithm Selection compressed point-server
  294. client = 9-ECDSA Signature Algorithm Selection compressed point-client
  295. [9-ECDSA Signature Algorithm Selection compressed point-server]
  296. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  297. CipherString = DEFAULT
  298. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-cecdsa-cert.pem
  299. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-cecdsa-key.pem
  300. MaxProtocol = TLSv1.2
  301. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  302. [9-ECDSA Signature Algorithm Selection compressed point-client]
  303. CipherString = DEFAULT
  304. SignatureAlgorithms = ECDSA+SHA256
  305. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  306. VerifyMode = Peer
  307. [test-9]
  308. ExpectedResult = Success
  309. ExpectedServerCertType = P-256
  310. ExpectedServerSignHash = SHA256
  311. ExpectedServerSignType = EC
  312. # ===========================================================
  313. [10-ECDSA Signature Algorithm Selection, no ECDSA certificate]
  314. ssl_conf = 10-ECDSA Signature Algorithm Selection, no ECDSA certificate-ssl
  315. [10-ECDSA Signature Algorithm Selection, no ECDSA certificate-ssl]
  316. server = 10-ECDSA Signature Algorithm Selection, no ECDSA certificate-server
  317. client = 10-ECDSA Signature Algorithm Selection, no ECDSA certificate-client
  318. [10-ECDSA Signature Algorithm Selection, no ECDSA certificate-server]
  319. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  320. CipherString = DEFAULT
  321. MaxProtocol = TLSv1.2
  322. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  323. [10-ECDSA Signature Algorithm Selection, no ECDSA certificate-client]
  324. CipherString = DEFAULT
  325. SignatureAlgorithms = ECDSA+SHA256
  326. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  327. VerifyMode = Peer
  328. [test-10]
  329. ExpectedResult = ServerFail
  330. # ===========================================================
  331. [11-RSA Signature Algorithm Selection]
  332. ssl_conf = 11-RSA Signature Algorithm Selection-ssl
  333. [11-RSA Signature Algorithm Selection-ssl]
  334. server = 11-RSA Signature Algorithm Selection-server
  335. client = 11-RSA Signature Algorithm Selection-client
  336. [11-RSA Signature Algorithm Selection-server]
  337. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  338. CipherString = DEFAULT
  339. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  340. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  341. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  342. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  343. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  344. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  345. MaxProtocol = TLSv1.2
  346. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  347. [11-RSA Signature Algorithm Selection-client]
  348. CipherString = DEFAULT
  349. SignatureAlgorithms = RSA+SHA256
  350. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  351. VerifyMode = Peer
  352. [test-11]
  353. ExpectedResult = Success
  354. ExpectedServerCertType = RSA
  355. ExpectedServerSignHash = SHA256
  356. ExpectedServerSignType = RSA
  357. # ===========================================================
  358. [12-RSA-PSS Signature Algorithm Selection]
  359. ssl_conf = 12-RSA-PSS Signature Algorithm Selection-ssl
  360. [12-RSA-PSS Signature Algorithm Selection-ssl]
  361. server = 12-RSA-PSS Signature Algorithm Selection-server
  362. client = 12-RSA-PSS Signature Algorithm Selection-client
  363. [12-RSA-PSS Signature Algorithm Selection-server]
  364. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  365. CipherString = DEFAULT
  366. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  367. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  368. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  369. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  370. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  371. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  372. MaxProtocol = TLSv1.2
  373. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  374. [12-RSA-PSS Signature Algorithm Selection-client]
  375. CipherString = DEFAULT
  376. SignatureAlgorithms = RSA-PSS+SHA256
  377. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  378. VerifyMode = Peer
  379. [test-12]
  380. ExpectedResult = Success
  381. ExpectedServerCertType = RSA
  382. ExpectedServerSignHash = SHA256
  383. ExpectedServerSignType = RSA-PSS
  384. # ===========================================================
  385. [13-RSA key exchange with all RSA certificate types]
  386. ssl_conf = 13-RSA key exchange with all RSA certificate types-ssl
  387. [13-RSA key exchange with all RSA certificate types-ssl]
  388. server = 13-RSA key exchange with all RSA certificate types-server
  389. client = 13-RSA key exchange with all RSA certificate types-client
  390. [13-RSA key exchange with all RSA certificate types-server]
  391. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  392. CipherString = DEFAULT
  393. PSS.Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-cert.pem
  394. PSS.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-key.pem
  395. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  396. [13-RSA key exchange with all RSA certificate types-client]
  397. CipherString = kRSA
  398. MaxProtocol = TLSv1.2
  399. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  400. VerifyMode = Peer
  401. [test-13]
  402. ExpectedResult = Success
  403. ExpectedServerCertType = RSA
  404. # ===========================================================
  405. [14-Suite B P-256 Hash Algorithm Selection]
  406. ssl_conf = 14-Suite B P-256 Hash Algorithm Selection-ssl
  407. [14-Suite B P-256 Hash Algorithm Selection-ssl]
  408. server = 14-Suite B P-256 Hash Algorithm Selection-server
  409. client = 14-Suite B P-256 Hash Algorithm Selection-client
  410. [14-Suite B P-256 Hash Algorithm Selection-server]
  411. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  412. CipherString = SUITEB128
  413. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/p256-server-cert.pem
  414. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/p256-server-key.pem
  415. MaxProtocol = TLSv1.2
  416. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  417. [14-Suite B P-256 Hash Algorithm Selection-client]
  418. CipherString = DEFAULT
  419. SignatureAlgorithms = ECDSA+SHA384:ECDSA+SHA256
  420. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/p384-root.pem
  421. VerifyMode = Peer
  422. [test-14]
  423. ExpectedResult = Success
  424. ExpectedServerCertType = P-256
  425. ExpectedServerSignHash = SHA256
  426. ExpectedServerSignType = EC
  427. # ===========================================================
  428. [15-Suite B P-384 Hash Algorithm Selection]
  429. ssl_conf = 15-Suite B P-384 Hash Algorithm Selection-ssl
  430. [15-Suite B P-384 Hash Algorithm Selection-ssl]
  431. server = 15-Suite B P-384 Hash Algorithm Selection-server
  432. client = 15-Suite B P-384 Hash Algorithm Selection-client
  433. [15-Suite B P-384 Hash Algorithm Selection-server]
  434. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  435. CipherString = SUITEB128
  436. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/p384-server-cert.pem
  437. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/p384-server-key.pem
  438. MaxProtocol = TLSv1.2
  439. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  440. [15-Suite B P-384 Hash Algorithm Selection-client]
  441. CipherString = DEFAULT
  442. SignatureAlgorithms = ECDSA+SHA256:ECDSA+SHA384
  443. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/p384-root.pem
  444. VerifyMode = Peer
  445. [test-15]
  446. ExpectedResult = Success
  447. ExpectedServerCertType = P-384
  448. ExpectedServerSignHash = SHA384
  449. ExpectedServerSignType = EC
  450. # ===========================================================
  451. [16-Ed25519 CipherString and Signature Algorithm Selection]
  452. ssl_conf = 16-Ed25519 CipherString and Signature Algorithm Selection-ssl
  453. [16-Ed25519 CipherString and Signature Algorithm Selection-ssl]
  454. server = 16-Ed25519 CipherString and Signature Algorithm Selection-server
  455. client = 16-Ed25519 CipherString and Signature Algorithm Selection-client
  456. [16-Ed25519 CipherString and Signature Algorithm Selection-server]
  457. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  458. CipherString = DEFAULT
  459. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  460. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  461. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  462. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  463. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  464. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  465. MaxProtocol = TLSv1.2
  466. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  467. [16-Ed25519 CipherString and Signature Algorithm Selection-client]
  468. CipherString = aECDSA
  469. MaxProtocol = TLSv1.2
  470. RequestCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  471. SignatureAlgorithms = ed25519:ECDSA+SHA256
  472. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  473. VerifyMode = Peer
  474. [test-16]
  475. ExpectedResult = Success
  476. ExpectedServerCANames = empty
  477. ExpectedServerCertType = Ed25519
  478. ExpectedServerSignType = Ed25519
  479. # ===========================================================
  480. [17-Ed448 CipherString and Signature Algorithm Selection]
  481. ssl_conf = 17-Ed448 CipherString and Signature Algorithm Selection-ssl
  482. [17-Ed448 CipherString and Signature Algorithm Selection-ssl]
  483. server = 17-Ed448 CipherString and Signature Algorithm Selection-server
  484. client = 17-Ed448 CipherString and Signature Algorithm Selection-client
  485. [17-Ed448 CipherString and Signature Algorithm Selection-server]
  486. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  487. CipherString = DEFAULT
  488. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  489. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  490. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  491. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  492. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  493. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  494. MaxProtocol = TLSv1.2
  495. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  496. [17-Ed448 CipherString and Signature Algorithm Selection-client]
  497. CipherString = aECDSA
  498. MaxProtocol = TLSv1.2
  499. RequestCAFile = ${ENV::TEST_CERTS_DIR}/root-ed448-cert.pem
  500. SignatureAlgorithms = ed448:ECDSA+SHA256
  501. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-ed448-cert.pem
  502. VerifyMode = Peer
  503. [test-17]
  504. ExpectedResult = Success
  505. ExpectedServerCANames = empty
  506. ExpectedServerCertType = Ed448
  507. ExpectedServerSignType = Ed448
  508. # ===========================================================
  509. [18-ECDSA with brainpool]
  510. ssl_conf = 18-ECDSA with brainpool-ssl
  511. [18-ECDSA with brainpool-ssl]
  512. server = 18-ECDSA with brainpool-server
  513. client = 18-ECDSA with brainpool-client
  514. [18-ECDSA with brainpool-server]
  515. Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-brainpoolP256r1-cert.pem
  516. CipherString = DEFAULT
  517. Groups = brainpoolP256r1
  518. PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-brainpoolP256r1-key.pem
  519. [18-ECDSA with brainpool-client]
  520. CipherString = aECDSA
  521. Groups = brainpoolP256r1
  522. RequestCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  523. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  524. VerifyMode = Peer
  525. [test-18]
  526. ExpectedResult = Success
  527. ExpectedServerCANames = empty
  528. ExpectedServerCertType = brainpoolP256r1
  529. ExpectedServerSignType = EC
  530. # ===========================================================
  531. [19-Ed25519 CipherString and Curves Selection]
  532. ssl_conf = 19-Ed25519 CipherString and Curves Selection-ssl
  533. [19-Ed25519 CipherString and Curves Selection-ssl]
  534. server = 19-Ed25519 CipherString and Curves Selection-server
  535. client = 19-Ed25519 CipherString and Curves Selection-client
  536. [19-Ed25519 CipherString and Curves Selection-server]
  537. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  538. CipherString = DEFAULT
  539. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  540. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  541. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  542. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  543. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  544. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  545. MaxProtocol = TLSv1.2
  546. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  547. [19-Ed25519 CipherString and Curves Selection-client]
  548. CipherString = aECDSA
  549. Curves = X25519
  550. MaxProtocol = TLSv1.2
  551. SignatureAlgorithms = ECDSA+SHA256:ed25519
  552. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  553. VerifyMode = Peer
  554. [test-19]
  555. ExpectedResult = Success
  556. ExpectedServerCertType = Ed25519
  557. ExpectedServerSignType = Ed25519
  558. # ===========================================================
  559. [20-Ed448 CipherString and Curves Selection]
  560. ssl_conf = 20-Ed448 CipherString and Curves Selection-ssl
  561. [20-Ed448 CipherString and Curves Selection-ssl]
  562. server = 20-Ed448 CipherString and Curves Selection-server
  563. client = 20-Ed448 CipherString and Curves Selection-client
  564. [20-Ed448 CipherString and Curves Selection-server]
  565. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  566. CipherString = DEFAULT
  567. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  568. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  569. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  570. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  571. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  572. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  573. MaxProtocol = TLSv1.2
  574. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  575. [20-Ed448 CipherString and Curves Selection-client]
  576. CipherString = aECDSA
  577. Curves = X448
  578. MaxProtocol = TLSv1.2
  579. SignatureAlgorithms = ECDSA+SHA256:ed448
  580. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-ed448-cert.pem
  581. VerifyMode = Peer
  582. [test-20]
  583. ExpectedResult = Success
  584. ExpectedServerCertType = Ed448
  585. ExpectedServerSignType = Ed448
  586. # ===========================================================
  587. [21-TLS 1.2 Ed25519 Client Auth]
  588. ssl_conf = 21-TLS 1.2 Ed25519 Client Auth-ssl
  589. [21-TLS 1.2 Ed25519 Client Auth-ssl]
  590. server = 21-TLS 1.2 Ed25519 Client Auth-server
  591. client = 21-TLS 1.2 Ed25519 Client Auth-client
  592. [21-TLS 1.2 Ed25519 Client Auth-server]
  593. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  594. CipherString = DEFAULT
  595. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  596. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  597. VerifyMode = Require
  598. [21-TLS 1.2 Ed25519 Client Auth-client]
  599. CipherString = DEFAULT
  600. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/client-ed25519-cert.pem
  601. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/client-ed25519-key.pem
  602. MaxProtocol = TLSv1.2
  603. MinProtocol = TLSv1.2
  604. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  605. VerifyMode = Peer
  606. [test-21]
  607. ExpectedClientCertType = Ed25519
  608. ExpectedClientSignType = Ed25519
  609. ExpectedResult = Success
  610. # ===========================================================
  611. [22-TLS 1.2 Ed448 Client Auth]
  612. ssl_conf = 22-TLS 1.2 Ed448 Client Auth-ssl
  613. [22-TLS 1.2 Ed448 Client Auth-ssl]
  614. server = 22-TLS 1.2 Ed448 Client Auth-server
  615. client = 22-TLS 1.2 Ed448 Client Auth-client
  616. [22-TLS 1.2 Ed448 Client Auth-server]
  617. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  618. CipherString = DEFAULT
  619. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  620. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  621. VerifyMode = Require
  622. [22-TLS 1.2 Ed448 Client Auth-client]
  623. CipherString = DEFAULT
  624. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/client-ed448-cert.pem
  625. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/client-ed448-key.pem
  626. MaxProtocol = TLSv1.2
  627. MinProtocol = TLSv1.2
  628. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  629. VerifyMode = Peer
  630. [test-22]
  631. ExpectedClientCertType = Ed448
  632. ExpectedClientSignType = Ed448
  633. ExpectedResult = Success
  634. # ===========================================================
  635. [23-RSA-PSS Certificate CipherString Selection]
  636. ssl_conf = 23-RSA-PSS Certificate CipherString Selection-ssl
  637. [23-RSA-PSS Certificate CipherString Selection-ssl]
  638. server = 23-RSA-PSS Certificate CipherString Selection-server
  639. client = 23-RSA-PSS Certificate CipherString Selection-client
  640. [23-RSA-PSS Certificate CipherString Selection-server]
  641. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  642. CipherString = DEFAULT
  643. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  644. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  645. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  646. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  647. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  648. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  649. MaxProtocol = TLSv1.2
  650. PSS.Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-cert.pem
  651. PSS.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-key.pem
  652. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  653. [23-RSA-PSS Certificate CipherString Selection-client]
  654. CipherString = aRSA
  655. MaxProtocol = TLSv1.2
  656. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  657. VerifyMode = Peer
  658. [test-23]
  659. ExpectedResult = Success
  660. ExpectedServerCertType = RSA-PSS
  661. ExpectedServerSignType = RSA-PSS
  662. # ===========================================================
  663. [24-RSA-PSS Certificate Legacy Signature Algorithm Selection]
  664. ssl_conf = 24-RSA-PSS Certificate Legacy Signature Algorithm Selection-ssl
  665. [24-RSA-PSS Certificate Legacy Signature Algorithm Selection-ssl]
  666. server = 24-RSA-PSS Certificate Legacy Signature Algorithm Selection-server
  667. client = 24-RSA-PSS Certificate Legacy Signature Algorithm Selection-client
  668. [24-RSA-PSS Certificate Legacy Signature Algorithm Selection-server]
  669. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  670. CipherString = DEFAULT
  671. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  672. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  673. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  674. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  675. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  676. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  677. MaxProtocol = TLSv1.2
  678. PSS.Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-cert.pem
  679. PSS.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-key.pem
  680. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  681. [24-RSA-PSS Certificate Legacy Signature Algorithm Selection-client]
  682. CipherString = DEFAULT
  683. SignatureAlgorithms = RSA-PSS+SHA256
  684. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  685. VerifyMode = Peer
  686. [test-24]
  687. ExpectedResult = Success
  688. ExpectedServerCertType = RSA
  689. ExpectedServerSignHash = SHA256
  690. ExpectedServerSignType = RSA-PSS
  691. # ===========================================================
  692. [25-RSA-PSS Certificate Unified Signature Algorithm Selection]
  693. ssl_conf = 25-RSA-PSS Certificate Unified Signature Algorithm Selection-ssl
  694. [25-RSA-PSS Certificate Unified Signature Algorithm Selection-ssl]
  695. server = 25-RSA-PSS Certificate Unified Signature Algorithm Selection-server
  696. client = 25-RSA-PSS Certificate Unified Signature Algorithm Selection-client
  697. [25-RSA-PSS Certificate Unified Signature Algorithm Selection-server]
  698. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  699. CipherString = DEFAULT
  700. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  701. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  702. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  703. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  704. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  705. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  706. MaxProtocol = TLSv1.2
  707. PSS.Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-cert.pem
  708. PSS.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-key.pem
  709. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  710. [25-RSA-PSS Certificate Unified Signature Algorithm Selection-client]
  711. CipherString = DEFAULT
  712. SignatureAlgorithms = rsa_pss_pss_sha256
  713. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  714. VerifyMode = Peer
  715. [test-25]
  716. ExpectedResult = Success
  717. ExpectedServerCertType = RSA-PSS
  718. ExpectedServerSignHash = SHA256
  719. ExpectedServerSignType = RSA-PSS
  720. # ===========================================================
  721. [26-Only RSA-PSS Certificate]
  722. ssl_conf = 26-Only RSA-PSS Certificate-ssl
  723. [26-Only RSA-PSS Certificate-ssl]
  724. server = 26-Only RSA-PSS Certificate-server
  725. client = 26-Only RSA-PSS Certificate-client
  726. [26-Only RSA-PSS Certificate-server]
  727. Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-cert.pem
  728. CipherString = DEFAULT
  729. PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-key.pem
  730. [26-Only RSA-PSS Certificate-client]
  731. CipherString = DEFAULT
  732. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  733. VerifyMode = Peer
  734. [test-26]
  735. ExpectedResult = Success
  736. ExpectedServerCertType = RSA-PSS
  737. ExpectedServerSignHash = SHA256
  738. ExpectedServerSignType = RSA-PSS
  739. # ===========================================================
  740. [27-Only RSA-PSS Certificate Valid Signature Algorithms]
  741. ssl_conf = 27-Only RSA-PSS Certificate Valid Signature Algorithms-ssl
  742. [27-Only RSA-PSS Certificate Valid Signature Algorithms-ssl]
  743. server = 27-Only RSA-PSS Certificate Valid Signature Algorithms-server
  744. client = 27-Only RSA-PSS Certificate Valid Signature Algorithms-client
  745. [27-Only RSA-PSS Certificate Valid Signature Algorithms-server]
  746. Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-cert.pem
  747. CipherString = DEFAULT
  748. PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-key.pem
  749. [27-Only RSA-PSS Certificate Valid Signature Algorithms-client]
  750. CipherString = DEFAULT
  751. SignatureAlgorithms = rsa_pss_pss_sha512
  752. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  753. VerifyMode = Peer
  754. [test-27]
  755. ExpectedResult = Success
  756. ExpectedServerCertType = RSA-PSS
  757. ExpectedServerSignHash = SHA512
  758. ExpectedServerSignType = RSA-PSS
  759. # ===========================================================
  760. [28-RSA-PSS Certificate, no PSS signature algorithms]
  761. ssl_conf = 28-RSA-PSS Certificate, no PSS signature algorithms-ssl
  762. [28-RSA-PSS Certificate, no PSS signature algorithms-ssl]
  763. server = 28-RSA-PSS Certificate, no PSS signature algorithms-server
  764. client = 28-RSA-PSS Certificate, no PSS signature algorithms-client
  765. [28-RSA-PSS Certificate, no PSS signature algorithms-server]
  766. Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-cert.pem
  767. CipherString = DEFAULT
  768. PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-key.pem
  769. [28-RSA-PSS Certificate, no PSS signature algorithms-client]
  770. CipherString = DEFAULT
  771. SignatureAlgorithms = RSA+SHA256
  772. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  773. VerifyMode = Peer
  774. [test-28]
  775. ExpectedResult = ServerFail
  776. # ===========================================================
  777. [29-Only RSA-PSS Restricted Certificate]
  778. ssl_conf = 29-Only RSA-PSS Restricted Certificate-ssl
  779. [29-Only RSA-PSS Restricted Certificate-ssl]
  780. server = 29-Only RSA-PSS Restricted Certificate-server
  781. client = 29-Only RSA-PSS Restricted Certificate-client
  782. [29-Only RSA-PSS Restricted Certificate-server]
  783. Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-restrict-cert.pem
  784. CipherString = DEFAULT
  785. PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-restrict-key.pem
  786. [29-Only RSA-PSS Restricted Certificate-client]
  787. CipherString = DEFAULT
  788. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  789. VerifyMode = Peer
  790. [test-29]
  791. ExpectedResult = Success
  792. ExpectedServerCertType = RSA-PSS
  793. ExpectedServerSignHash = SHA256
  794. ExpectedServerSignType = RSA-PSS
  795. # ===========================================================
  796. [30-RSA-PSS Restricted Certificate Valid Signature Algorithms]
  797. ssl_conf = 30-RSA-PSS Restricted Certificate Valid Signature Algorithms-ssl
  798. [30-RSA-PSS Restricted Certificate Valid Signature Algorithms-ssl]
  799. server = 30-RSA-PSS Restricted Certificate Valid Signature Algorithms-server
  800. client = 30-RSA-PSS Restricted Certificate Valid Signature Algorithms-client
  801. [30-RSA-PSS Restricted Certificate Valid Signature Algorithms-server]
  802. Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-restrict-cert.pem
  803. CipherString = DEFAULT
  804. PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-restrict-key.pem
  805. [30-RSA-PSS Restricted Certificate Valid Signature Algorithms-client]
  806. CipherString = DEFAULT
  807. SignatureAlgorithms = rsa_pss_pss_sha256:rsa_pss_pss_sha512
  808. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  809. VerifyMode = Peer
  810. [test-30]
  811. ExpectedResult = Success
  812. ExpectedServerCertType = RSA-PSS
  813. ExpectedServerSignHash = SHA256
  814. ExpectedServerSignType = RSA-PSS
  815. # ===========================================================
  816. [31-RSA-PSS Restricted Cert client prefers invalid Signature Algorithm]
  817. ssl_conf = 31-RSA-PSS Restricted Cert client prefers invalid Signature Algorithm-ssl
  818. [31-RSA-PSS Restricted Cert client prefers invalid Signature Algorithm-ssl]
  819. server = 31-RSA-PSS Restricted Cert client prefers invalid Signature Algorithm-server
  820. client = 31-RSA-PSS Restricted Cert client prefers invalid Signature Algorithm-client
  821. [31-RSA-PSS Restricted Cert client prefers invalid Signature Algorithm-server]
  822. Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-restrict-cert.pem
  823. CipherString = DEFAULT
  824. PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-restrict-key.pem
  825. [31-RSA-PSS Restricted Cert client prefers invalid Signature Algorithm-client]
  826. CipherString = DEFAULT
  827. SignatureAlgorithms = rsa_pss_pss_sha512:rsa_pss_pss_sha256
  828. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  829. VerifyMode = Peer
  830. [test-31]
  831. ExpectedResult = Success
  832. ExpectedServerCertType = RSA-PSS
  833. ExpectedServerSignHash = SHA256
  834. ExpectedServerSignType = RSA-PSS
  835. # ===========================================================
  836. [32-RSA-PSS Restricted Certificate Invalid Signature Algorithms]
  837. ssl_conf = 32-RSA-PSS Restricted Certificate Invalid Signature Algorithms-ssl
  838. [32-RSA-PSS Restricted Certificate Invalid Signature Algorithms-ssl]
  839. server = 32-RSA-PSS Restricted Certificate Invalid Signature Algorithms-server
  840. client = 32-RSA-PSS Restricted Certificate Invalid Signature Algorithms-client
  841. [32-RSA-PSS Restricted Certificate Invalid Signature Algorithms-server]
  842. Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-restrict-cert.pem
  843. CipherString = DEFAULT
  844. PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-restrict-key.pem
  845. [32-RSA-PSS Restricted Certificate Invalid Signature Algorithms-client]
  846. CipherString = DEFAULT
  847. SignatureAlgorithms = rsa_pss_pss_sha512
  848. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  849. VerifyMode = Peer
  850. [test-32]
  851. ExpectedResult = ServerFail
  852. # ===========================================================
  853. [33-RSA key exchange with only RSA-PSS certificate]
  854. ssl_conf = 33-RSA key exchange with only RSA-PSS certificate-ssl
  855. [33-RSA key exchange with only RSA-PSS certificate-ssl]
  856. server = 33-RSA key exchange with only RSA-PSS certificate-server
  857. client = 33-RSA key exchange with only RSA-PSS certificate-client
  858. [33-RSA key exchange with only RSA-PSS certificate-server]
  859. Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-cert.pem
  860. CipherString = DEFAULT
  861. PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-key.pem
  862. [33-RSA key exchange with only RSA-PSS certificate-client]
  863. CipherString = kRSA
  864. MaxProtocol = TLSv1.2
  865. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  866. VerifyMode = Peer
  867. [test-33]
  868. ExpectedResult = ServerFail
  869. # ===========================================================
  870. [34-Only RSA-PSS Certificate, TLS v1.1]
  871. ssl_conf = 34-Only RSA-PSS Certificate, TLS v1.1-ssl
  872. [34-Only RSA-PSS Certificate, TLS v1.1-ssl]
  873. server = 34-Only RSA-PSS Certificate, TLS v1.1-server
  874. client = 34-Only RSA-PSS Certificate, TLS v1.1-client
  875. [34-Only RSA-PSS Certificate, TLS v1.1-server]
  876. Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-cert.pem
  877. CipherString = DEFAULT
  878. PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-key.pem
  879. [34-Only RSA-PSS Certificate, TLS v1.1-client]
  880. CipherString = DEFAULT
  881. MaxProtocol = TLSv1.1
  882. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  883. VerifyMode = Peer
  884. [test-34]
  885. ExpectedResult = ServerFail
  886. # ===========================================================
  887. [35-TLS 1.3 ECDSA Signature Algorithm Selection]
  888. ssl_conf = 35-TLS 1.3 ECDSA Signature Algorithm Selection-ssl
  889. [35-TLS 1.3 ECDSA Signature Algorithm Selection-ssl]
  890. server = 35-TLS 1.3 ECDSA Signature Algorithm Selection-server
  891. client = 35-TLS 1.3 ECDSA Signature Algorithm Selection-client
  892. [35-TLS 1.3 ECDSA Signature Algorithm Selection-server]
  893. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  894. CipherString = DEFAULT
  895. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  896. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  897. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  898. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  899. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  900. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  901. MaxProtocol = TLSv1.3
  902. MinProtocol = TLSv1.3
  903. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  904. [35-TLS 1.3 ECDSA Signature Algorithm Selection-client]
  905. CipherString = DEFAULT
  906. SignatureAlgorithms = ECDSA+SHA256
  907. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  908. VerifyMode = Peer
  909. [test-35]
  910. ExpectedResult = Success
  911. ExpectedServerCANames = empty
  912. ExpectedServerCertType = P-256
  913. ExpectedServerSignHash = SHA256
  914. ExpectedServerSignType = EC
  915. # ===========================================================
  916. [36-TLS 1.3 ECDSA Signature Algorithm Selection compressed point]
  917. ssl_conf = 36-TLS 1.3 ECDSA Signature Algorithm Selection compressed point-ssl
  918. [36-TLS 1.3 ECDSA Signature Algorithm Selection compressed point-ssl]
  919. server = 36-TLS 1.3 ECDSA Signature Algorithm Selection compressed point-server
  920. client = 36-TLS 1.3 ECDSA Signature Algorithm Selection compressed point-client
  921. [36-TLS 1.3 ECDSA Signature Algorithm Selection compressed point-server]
  922. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  923. CipherString = DEFAULT
  924. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-cecdsa-cert.pem
  925. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-cecdsa-key.pem
  926. MaxProtocol = TLSv1.3
  927. MinProtocol = TLSv1.3
  928. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  929. [36-TLS 1.3 ECDSA Signature Algorithm Selection compressed point-client]
  930. CipherString = DEFAULT
  931. SignatureAlgorithms = ECDSA+SHA256
  932. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  933. VerifyMode = Peer
  934. [test-36]
  935. ExpectedResult = Success
  936. ExpectedServerCANames = empty
  937. ExpectedServerCertType = P-256
  938. ExpectedServerSignHash = SHA256
  939. ExpectedServerSignType = EC
  940. # ===========================================================
  941. [37-TLS 1.3 ECDSA Signature Algorithm Selection SHA1]
  942. ssl_conf = 37-TLS 1.3 ECDSA Signature Algorithm Selection SHA1-ssl
  943. [37-TLS 1.3 ECDSA Signature Algorithm Selection SHA1-ssl]
  944. server = 37-TLS 1.3 ECDSA Signature Algorithm Selection SHA1-server
  945. client = 37-TLS 1.3 ECDSA Signature Algorithm Selection SHA1-client
  946. [37-TLS 1.3 ECDSA Signature Algorithm Selection SHA1-server]
  947. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  948. CipherString = DEFAULT
  949. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  950. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  951. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  952. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  953. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  954. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  955. MaxProtocol = TLSv1.3
  956. MinProtocol = TLSv1.3
  957. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  958. [37-TLS 1.3 ECDSA Signature Algorithm Selection SHA1-client]
  959. CipherString = DEFAULT
  960. SignatureAlgorithms = ECDSA+SHA1
  961. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  962. VerifyMode = Peer
  963. [test-37]
  964. ExpectedResult = ServerFail
  965. # ===========================================================
  966. [38-TLS 1.3 ECDSA Signature Algorithm Selection with PSS]
  967. ssl_conf = 38-TLS 1.3 ECDSA Signature Algorithm Selection with PSS-ssl
  968. [38-TLS 1.3 ECDSA Signature Algorithm Selection with PSS-ssl]
  969. server = 38-TLS 1.3 ECDSA Signature Algorithm Selection with PSS-server
  970. client = 38-TLS 1.3 ECDSA Signature Algorithm Selection with PSS-client
  971. [38-TLS 1.3 ECDSA Signature Algorithm Selection with PSS-server]
  972. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  973. CipherString = DEFAULT
  974. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  975. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  976. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  977. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  978. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  979. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  980. MaxProtocol = TLSv1.3
  981. MinProtocol = TLSv1.3
  982. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  983. [38-TLS 1.3 ECDSA Signature Algorithm Selection with PSS-client]
  984. CipherString = DEFAULT
  985. RequestCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  986. SignatureAlgorithms = ECDSA+SHA256:RSA-PSS+SHA256
  987. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  988. VerifyMode = Peer
  989. [test-38]
  990. ExpectedResult = Success
  991. ExpectedServerCANames = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  992. ExpectedServerCertType = P-256
  993. ExpectedServerSignHash = SHA256
  994. ExpectedServerSignType = EC
  995. # ===========================================================
  996. [39-TLS 1.3 RSA Signature Algorithm Selection SHA384 with PSS]
  997. ssl_conf = 39-TLS 1.3 RSA Signature Algorithm Selection SHA384 with PSS-ssl
  998. [39-TLS 1.3 RSA Signature Algorithm Selection SHA384 with PSS-ssl]
  999. server = 39-TLS 1.3 RSA Signature Algorithm Selection SHA384 with PSS-server
  1000. client = 39-TLS 1.3 RSA Signature Algorithm Selection SHA384 with PSS-client
  1001. [39-TLS 1.3 RSA Signature Algorithm Selection SHA384 with PSS-server]
  1002. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  1003. CipherString = DEFAULT
  1004. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  1005. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  1006. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  1007. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  1008. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  1009. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  1010. MaxProtocol = TLSv1.3
  1011. MinProtocol = TLSv1.3
  1012. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  1013. [39-TLS 1.3 RSA Signature Algorithm Selection SHA384 with PSS-client]
  1014. CipherString = DEFAULT
  1015. SignatureAlgorithms = ECDSA+SHA384:RSA-PSS+SHA384
  1016. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  1017. VerifyMode = Peer
  1018. [test-39]
  1019. ExpectedResult = Success
  1020. ExpectedServerCertType = RSA
  1021. ExpectedServerSignHash = SHA384
  1022. ExpectedServerSignType = RSA-PSS
  1023. # ===========================================================
  1024. [40-TLS 1.3 ECDSA Signature Algorithm Selection, no ECDSA certificate]
  1025. ssl_conf = 40-TLS 1.3 ECDSA Signature Algorithm Selection, no ECDSA certificate-ssl
  1026. [40-TLS 1.3 ECDSA Signature Algorithm Selection, no ECDSA certificate-ssl]
  1027. server = 40-TLS 1.3 ECDSA Signature Algorithm Selection, no ECDSA certificate-server
  1028. client = 40-TLS 1.3 ECDSA Signature Algorithm Selection, no ECDSA certificate-client
  1029. [40-TLS 1.3 ECDSA Signature Algorithm Selection, no ECDSA certificate-server]
  1030. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  1031. CipherString = DEFAULT
  1032. MaxProtocol = TLSv1.3
  1033. MinProtocol = TLSv1.3
  1034. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  1035. [40-TLS 1.3 ECDSA Signature Algorithm Selection, no ECDSA certificate-client]
  1036. CipherString = DEFAULT
  1037. SignatureAlgorithms = ECDSA+SHA256
  1038. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  1039. VerifyMode = Peer
  1040. [test-40]
  1041. ExpectedResult = ServerFail
  1042. # ===========================================================
  1043. [41-TLS 1.3 RSA Signature Algorithm Selection, no PSS]
  1044. ssl_conf = 41-TLS 1.3 RSA Signature Algorithm Selection, no PSS-ssl
  1045. [41-TLS 1.3 RSA Signature Algorithm Selection, no PSS-ssl]
  1046. server = 41-TLS 1.3 RSA Signature Algorithm Selection, no PSS-server
  1047. client = 41-TLS 1.3 RSA Signature Algorithm Selection, no PSS-client
  1048. [41-TLS 1.3 RSA Signature Algorithm Selection, no PSS-server]
  1049. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  1050. CipherString = DEFAULT
  1051. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  1052. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  1053. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  1054. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  1055. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  1056. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  1057. MaxProtocol = TLSv1.3
  1058. MinProtocol = TLSv1.3
  1059. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  1060. [41-TLS 1.3 RSA Signature Algorithm Selection, no PSS-client]
  1061. CipherString = DEFAULT
  1062. SignatureAlgorithms = RSA+SHA256
  1063. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  1064. VerifyMode = Peer
  1065. [test-41]
  1066. ExpectedResult = ServerFail
  1067. # ===========================================================
  1068. [42-TLS 1.3 RSA-PSS Signature Algorithm Selection]
  1069. ssl_conf = 42-TLS 1.3 RSA-PSS Signature Algorithm Selection-ssl
  1070. [42-TLS 1.3 RSA-PSS Signature Algorithm Selection-ssl]
  1071. server = 42-TLS 1.3 RSA-PSS Signature Algorithm Selection-server
  1072. client = 42-TLS 1.3 RSA-PSS Signature Algorithm Selection-client
  1073. [42-TLS 1.3 RSA-PSS Signature Algorithm Selection-server]
  1074. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  1075. CipherString = DEFAULT
  1076. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  1077. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  1078. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  1079. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  1080. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  1081. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  1082. MaxProtocol = TLSv1.3
  1083. MinProtocol = TLSv1.3
  1084. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  1085. [42-TLS 1.3 RSA-PSS Signature Algorithm Selection-client]
  1086. CipherString = DEFAULT
  1087. SignatureAlgorithms = RSA-PSS+SHA256
  1088. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  1089. VerifyMode = Peer
  1090. [test-42]
  1091. ExpectedResult = Success
  1092. ExpectedServerCertType = RSA
  1093. ExpectedServerSignHash = SHA256
  1094. ExpectedServerSignType = RSA-PSS
  1095. # ===========================================================
  1096. [43-TLS 1.3 RSA Client Auth Signature Algorithm Selection]
  1097. ssl_conf = 43-TLS 1.3 RSA Client Auth Signature Algorithm Selection-ssl
  1098. [43-TLS 1.3 RSA Client Auth Signature Algorithm Selection-ssl]
  1099. server = 43-TLS 1.3 RSA Client Auth Signature Algorithm Selection-server
  1100. client = 43-TLS 1.3 RSA Client Auth Signature Algorithm Selection-client
  1101. [43-TLS 1.3 RSA Client Auth Signature Algorithm Selection-server]
  1102. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  1103. CipherString = DEFAULT
  1104. ClientSignatureAlgorithms = PSS+SHA256
  1105. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  1106. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  1107. VerifyMode = Require
  1108. [43-TLS 1.3 RSA Client Auth Signature Algorithm Selection-client]
  1109. CipherString = DEFAULT
  1110. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/ee-ecdsa-client-chain.pem
  1111. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-ecdsa-key.pem
  1112. MaxProtocol = TLSv1.3
  1113. MinProtocol = TLSv1.3
  1114. RSA.Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
  1115. RSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
  1116. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  1117. VerifyMode = Peer
  1118. [test-43]
  1119. ExpectedClientCANames = empty
  1120. ExpectedClientCertType = RSA
  1121. ExpectedClientSignHash = SHA256
  1122. ExpectedClientSignType = RSA-PSS
  1123. ExpectedResult = Success
  1124. # ===========================================================
  1125. [44-TLS 1.3 RSA Client Auth Signature Algorithm Selection non-empty CA Names]
  1126. ssl_conf = 44-TLS 1.3 RSA Client Auth Signature Algorithm Selection non-empty CA Names-ssl
  1127. [44-TLS 1.3 RSA Client Auth Signature Algorithm Selection non-empty CA Names-ssl]
  1128. server = 44-TLS 1.3 RSA Client Auth Signature Algorithm Selection non-empty CA Names-server
  1129. client = 44-TLS 1.3 RSA Client Auth Signature Algorithm Selection non-empty CA Names-client
  1130. [44-TLS 1.3 RSA Client Auth Signature Algorithm Selection non-empty CA Names-server]
  1131. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  1132. CipherString = DEFAULT
  1133. ClientSignatureAlgorithms = PSS+SHA256
  1134. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  1135. RequestCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  1136. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  1137. VerifyMode = Require
  1138. [44-TLS 1.3 RSA Client Auth Signature Algorithm Selection non-empty CA Names-client]
  1139. CipherString = DEFAULT
  1140. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/ee-ecdsa-client-chain.pem
  1141. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-ecdsa-key.pem
  1142. MaxProtocol = TLSv1.3
  1143. MinProtocol = TLSv1.3
  1144. RSA.Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
  1145. RSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
  1146. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  1147. VerifyMode = Peer
  1148. [test-44]
  1149. ExpectedClientCANames = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  1150. ExpectedClientCertType = RSA
  1151. ExpectedClientSignHash = SHA256
  1152. ExpectedClientSignType = RSA-PSS
  1153. ExpectedResult = Success
  1154. # ===========================================================
  1155. [45-TLS 1.3 ECDSA Client Auth Signature Algorithm Selection]
  1156. ssl_conf = 45-TLS 1.3 ECDSA Client Auth Signature Algorithm Selection-ssl
  1157. [45-TLS 1.3 ECDSA Client Auth Signature Algorithm Selection-ssl]
  1158. server = 45-TLS 1.3 ECDSA Client Auth Signature Algorithm Selection-server
  1159. client = 45-TLS 1.3 ECDSA Client Auth Signature Algorithm Selection-client
  1160. [45-TLS 1.3 ECDSA Client Auth Signature Algorithm Selection-server]
  1161. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  1162. CipherString = DEFAULT
  1163. ClientSignatureAlgorithms = ECDSA+SHA256
  1164. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  1165. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  1166. VerifyMode = Require
  1167. [45-TLS 1.3 ECDSA Client Auth Signature Algorithm Selection-client]
  1168. CipherString = DEFAULT
  1169. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/ee-ecdsa-client-chain.pem
  1170. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-ecdsa-key.pem
  1171. MaxProtocol = TLSv1.3
  1172. MinProtocol = TLSv1.3
  1173. RSA.Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
  1174. RSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
  1175. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  1176. VerifyMode = Peer
  1177. [test-45]
  1178. ExpectedClientCertType = P-256
  1179. ExpectedClientSignHash = SHA256
  1180. ExpectedClientSignType = EC
  1181. ExpectedResult = Success
  1182. # ===========================================================
  1183. [46-TLS 1.3 Ed25519 Signature Algorithm Selection]
  1184. ssl_conf = 46-TLS 1.3 Ed25519 Signature Algorithm Selection-ssl
  1185. [46-TLS 1.3 Ed25519 Signature Algorithm Selection-ssl]
  1186. server = 46-TLS 1.3 Ed25519 Signature Algorithm Selection-server
  1187. client = 46-TLS 1.3 Ed25519 Signature Algorithm Selection-client
  1188. [46-TLS 1.3 Ed25519 Signature Algorithm Selection-server]
  1189. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  1190. CipherString = DEFAULT
  1191. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  1192. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  1193. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  1194. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  1195. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  1196. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  1197. MaxProtocol = TLSv1.3
  1198. MinProtocol = TLSv1.3
  1199. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  1200. [46-TLS 1.3 Ed25519 Signature Algorithm Selection-client]
  1201. CipherString = DEFAULT
  1202. SignatureAlgorithms = ed25519
  1203. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  1204. VerifyMode = Peer
  1205. [test-46]
  1206. ExpectedResult = Success
  1207. ExpectedServerCertType = Ed25519
  1208. ExpectedServerSignType = Ed25519
  1209. # ===========================================================
  1210. [47-TLS 1.3 Ed448 Signature Algorithm Selection]
  1211. ssl_conf = 47-TLS 1.3 Ed448 Signature Algorithm Selection-ssl
  1212. [47-TLS 1.3 Ed448 Signature Algorithm Selection-ssl]
  1213. server = 47-TLS 1.3 Ed448 Signature Algorithm Selection-server
  1214. client = 47-TLS 1.3 Ed448 Signature Algorithm Selection-client
  1215. [47-TLS 1.3 Ed448 Signature Algorithm Selection-server]
  1216. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  1217. CipherString = DEFAULT
  1218. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  1219. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  1220. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  1221. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  1222. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  1223. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  1224. MaxProtocol = TLSv1.3
  1225. MinProtocol = TLSv1.3
  1226. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  1227. [47-TLS 1.3 Ed448 Signature Algorithm Selection-client]
  1228. CipherString = DEFAULT
  1229. SignatureAlgorithms = ed448
  1230. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-ed448-cert.pem
  1231. VerifyMode = Peer
  1232. [test-47]
  1233. ExpectedResult = Success
  1234. ExpectedServerCertType = Ed448
  1235. ExpectedServerSignType = Ed448
  1236. # ===========================================================
  1237. [48-TLS 1.3 Ed25519 CipherString and Groups Selection]
  1238. ssl_conf = 48-TLS 1.3 Ed25519 CipherString and Groups Selection-ssl
  1239. [48-TLS 1.3 Ed25519 CipherString and Groups Selection-ssl]
  1240. server = 48-TLS 1.3 Ed25519 CipherString and Groups Selection-server
  1241. client = 48-TLS 1.3 Ed25519 CipherString and Groups Selection-client
  1242. [48-TLS 1.3 Ed25519 CipherString and Groups Selection-server]
  1243. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  1244. CipherString = DEFAULT
  1245. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  1246. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  1247. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  1248. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  1249. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  1250. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  1251. MaxProtocol = TLSv1.3
  1252. MinProtocol = TLSv1.3
  1253. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  1254. [48-TLS 1.3 Ed25519 CipherString and Groups Selection-client]
  1255. CipherString = DEFAULT
  1256. Groups = X25519
  1257. SignatureAlgorithms = ECDSA+SHA256:ed25519
  1258. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  1259. VerifyMode = Peer
  1260. [test-48]
  1261. ExpectedResult = Success
  1262. ExpectedServerCertType = P-256
  1263. ExpectedServerSignType = EC
  1264. # ===========================================================
  1265. [49-TLS 1.3 Ed448 CipherString and Groups Selection]
  1266. ssl_conf = 49-TLS 1.3 Ed448 CipherString and Groups Selection-ssl
  1267. [49-TLS 1.3 Ed448 CipherString and Groups Selection-ssl]
  1268. server = 49-TLS 1.3 Ed448 CipherString and Groups Selection-server
  1269. client = 49-TLS 1.3 Ed448 CipherString and Groups Selection-client
  1270. [49-TLS 1.3 Ed448 CipherString and Groups Selection-server]
  1271. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  1272. CipherString = DEFAULT
  1273. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  1274. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  1275. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  1276. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  1277. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  1278. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  1279. MaxProtocol = TLSv1.3
  1280. MinProtocol = TLSv1.3
  1281. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  1282. [49-TLS 1.3 Ed448 CipherString and Groups Selection-client]
  1283. CipherString = DEFAULT
  1284. Groups = X448
  1285. SignatureAlgorithms = ECDSA+SHA256:ed448
  1286. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  1287. VerifyMode = Peer
  1288. [test-49]
  1289. ExpectedResult = Success
  1290. ExpectedServerCertType = P-256
  1291. ExpectedServerSignType = EC
  1292. # ===========================================================
  1293. [50-TLS 1.3 Ed25519 Client Auth]
  1294. ssl_conf = 50-TLS 1.3 Ed25519 Client Auth-ssl
  1295. [50-TLS 1.3 Ed25519 Client Auth-ssl]
  1296. server = 50-TLS 1.3 Ed25519 Client Auth-server
  1297. client = 50-TLS 1.3 Ed25519 Client Auth-client
  1298. [50-TLS 1.3 Ed25519 Client Auth-server]
  1299. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  1300. CipherString = DEFAULT
  1301. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  1302. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  1303. VerifyMode = Require
  1304. [50-TLS 1.3 Ed25519 Client Auth-client]
  1305. CipherString = DEFAULT
  1306. EdDSA.Certificate = ${ENV::TEST_CERTS_DIR}/client-ed25519-cert.pem
  1307. EdDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/client-ed25519-key.pem
  1308. MaxProtocol = TLSv1.3
  1309. MinProtocol = TLSv1.3
  1310. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  1311. VerifyMode = Peer
  1312. [test-50]
  1313. ExpectedClientCertType = Ed25519
  1314. ExpectedClientSignType = Ed25519
  1315. ExpectedResult = Success
  1316. # ===========================================================
  1317. [51-TLS 1.3 Ed448 Client Auth]
  1318. ssl_conf = 51-TLS 1.3 Ed448 Client Auth-ssl
  1319. [51-TLS 1.3 Ed448 Client Auth-ssl]
  1320. server = 51-TLS 1.3 Ed448 Client Auth-server
  1321. client = 51-TLS 1.3 Ed448 Client Auth-client
  1322. [51-TLS 1.3 Ed448 Client Auth-server]
  1323. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  1324. CipherString = DEFAULT
  1325. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  1326. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  1327. VerifyMode = Require
  1328. [51-TLS 1.3 Ed448 Client Auth-client]
  1329. CipherString = DEFAULT
  1330. EdDSA.Certificate = ${ENV::TEST_CERTS_DIR}/client-ed448-cert.pem
  1331. EdDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/client-ed448-key.pem
  1332. MaxProtocol = TLSv1.3
  1333. MinProtocol = TLSv1.3
  1334. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  1335. VerifyMode = Peer
  1336. [test-51]
  1337. ExpectedClientCertType = Ed448
  1338. ExpectedClientSignType = Ed448
  1339. ExpectedResult = Success
  1340. # ===========================================================
  1341. [52-TLS 1.3 ECDSA with brainpool]
  1342. ssl_conf = 52-TLS 1.3 ECDSA with brainpool-ssl
  1343. [52-TLS 1.3 ECDSA with brainpool-ssl]
  1344. server = 52-TLS 1.3 ECDSA with brainpool-server
  1345. client = 52-TLS 1.3 ECDSA with brainpool-client
  1346. [52-TLS 1.3 ECDSA with brainpool-server]
  1347. Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-brainpoolP256r1-cert.pem
  1348. CipherString = DEFAULT
  1349. Groups = brainpoolP256r1
  1350. PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-brainpoolP256r1-key.pem
  1351. [52-TLS 1.3 ECDSA with brainpool-client]
  1352. CipherString = DEFAULT
  1353. Groups = brainpoolP256r1
  1354. MaxProtocol = TLSv1.3
  1355. MinProtocol = TLSv1.3
  1356. RequestCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  1357. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  1358. VerifyMode = Peer
  1359. [test-52]
  1360. ExpectedResult = ServerFail
  1361. # ===========================================================
  1362. [53-TLS 1.2 DSA Certificate Test]
  1363. ssl_conf = 53-TLS 1.2 DSA Certificate Test-ssl
  1364. [53-TLS 1.2 DSA Certificate Test-ssl]
  1365. server = 53-TLS 1.2 DSA Certificate Test-server
  1366. client = 53-TLS 1.2 DSA Certificate Test-client
  1367. [53-TLS 1.2 DSA Certificate Test-server]
  1368. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  1369. CipherString = ALL
  1370. DHParameters = ${ENV::TEST_CERTS_DIR}/dhp2048.pem
  1371. DSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-dsa-cert.pem
  1372. DSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-dsa-key.pem
  1373. MaxProtocol = TLSv1.2
  1374. MinProtocol = TLSv1.2
  1375. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  1376. [53-TLS 1.2 DSA Certificate Test-client]
  1377. CipherString = ALL
  1378. SignatureAlgorithms = DSA+SHA256:DSA+SHA1
  1379. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  1380. VerifyMode = Peer
  1381. [test-53]
  1382. ExpectedResult = Success
  1383. # ===========================================================
  1384. [54-TLS 1.3 Client Auth No TLS 1.3 Signature Algorithms]
  1385. ssl_conf = 54-TLS 1.3 Client Auth No TLS 1.3 Signature Algorithms-ssl
  1386. [54-TLS 1.3 Client Auth No TLS 1.3 Signature Algorithms-ssl]
  1387. server = 54-TLS 1.3 Client Auth No TLS 1.3 Signature Algorithms-server
  1388. client = 54-TLS 1.3 Client Auth No TLS 1.3 Signature Algorithms-client
  1389. [54-TLS 1.3 Client Auth No TLS 1.3 Signature Algorithms-server]
  1390. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  1391. CipherString = DEFAULT
  1392. ClientSignatureAlgorithms = ECDSA+SHA1:DSA+SHA256:RSA+SHA256
  1393. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  1394. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  1395. VerifyMode = Request
  1396. [54-TLS 1.3 Client Auth No TLS 1.3 Signature Algorithms-client]
  1397. CipherString = DEFAULT
  1398. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  1399. VerifyMode = Peer
  1400. [test-54]
  1401. ExpectedResult = ServerFail
  1402. # ===========================================================
  1403. [55-TLS 1.3 DSA Certificate Test]
  1404. ssl_conf = 55-TLS 1.3 DSA Certificate Test-ssl
  1405. [55-TLS 1.3 DSA Certificate Test-ssl]
  1406. server = 55-TLS 1.3 DSA Certificate Test-server
  1407. client = 55-TLS 1.3 DSA Certificate Test-client
  1408. [55-TLS 1.3 DSA Certificate Test-server]
  1409. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  1410. CipherString = ALL
  1411. DSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-dsa-cert.pem
  1412. DSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-dsa-key.pem
  1413. MaxProtocol = TLSv1.3
  1414. MinProtocol = TLSv1.3
  1415. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  1416. [55-TLS 1.3 DSA Certificate Test-client]
  1417. CipherString = ALL
  1418. SignatureAlgorithms = DSA+SHA1:DSA+SHA256:ECDSA+SHA256
  1419. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  1420. VerifyMode = Peer
  1421. [test-55]
  1422. ExpectedResult = ServerFail