2
0

20-cert-select.conf 55 KB

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