17-renegotiate.conf 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  1. # Generated with generate_ssl_tests.pl
  2. num_tests = 10
  3. test-0 = 0-renegotiate-client-no-resume
  4. test-1 = 1-renegotiate-client-resume
  5. test-2 = 2-renegotiate-server-no-resume
  6. test-3 = 3-renegotiate-server-resume
  7. test-4 = 4-renegotiate-client-auth-require
  8. test-5 = 5-renegotiate-client-auth-once
  9. test-6 = 6-renegotiate-aead-to-non-aead
  10. test-7 = 7-renegotiate-non-aead-to-aead
  11. test-8 = 8-renegotiate-non-aead-to-non-aead
  12. test-9 = 9-renegotiate-aead-to-aead
  13. # ===========================================================
  14. [0-renegotiate-client-no-resume]
  15. ssl_conf = 0-renegotiate-client-no-resume-ssl
  16. [0-renegotiate-client-no-resume-ssl]
  17. server = 0-renegotiate-client-no-resume-server
  18. client = 0-renegotiate-client-no-resume-client
  19. [0-renegotiate-client-no-resume-server]
  20. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  21. CipherString = DEFAULT
  22. MaxProtocol = TLSv1.2
  23. Options = NoResumptionOnRenegotiation
  24. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  25. [0-renegotiate-client-no-resume-client]
  26. CipherString = DEFAULT
  27. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  28. VerifyMode = Peer
  29. [test-0]
  30. ExpectedResult = Success
  31. HandshakeMode = RenegotiateClient
  32. Method = TLS
  33. ResumptionExpected = No
  34. # ===========================================================
  35. [1-renegotiate-client-resume]
  36. ssl_conf = 1-renegotiate-client-resume-ssl
  37. [1-renegotiate-client-resume-ssl]
  38. server = 1-renegotiate-client-resume-server
  39. client = 1-renegotiate-client-resume-client
  40. [1-renegotiate-client-resume-server]
  41. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  42. CipherString = DEFAULT
  43. MaxProtocol = TLSv1.2
  44. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  45. [1-renegotiate-client-resume-client]
  46. CipherString = DEFAULT
  47. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  48. VerifyMode = Peer
  49. [test-1]
  50. ExpectedResult = Success
  51. HandshakeMode = RenegotiateClient
  52. Method = TLS
  53. ResumptionExpected = Yes
  54. # ===========================================================
  55. [2-renegotiate-server-no-resume]
  56. ssl_conf = 2-renegotiate-server-no-resume-ssl
  57. [2-renegotiate-server-no-resume-ssl]
  58. server = 2-renegotiate-server-no-resume-server
  59. client = 2-renegotiate-server-no-resume-client
  60. [2-renegotiate-server-no-resume-server]
  61. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  62. CipherString = DEFAULT
  63. MaxProtocol = TLSv1.2
  64. Options = NoResumptionOnRenegotiation
  65. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  66. [2-renegotiate-server-no-resume-client]
  67. CipherString = DEFAULT
  68. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  69. VerifyMode = Peer
  70. [test-2]
  71. ExpectedResult = Success
  72. HandshakeMode = RenegotiateServer
  73. Method = TLS
  74. ResumptionExpected = No
  75. # ===========================================================
  76. [3-renegotiate-server-resume]
  77. ssl_conf = 3-renegotiate-server-resume-ssl
  78. [3-renegotiate-server-resume-ssl]
  79. server = 3-renegotiate-server-resume-server
  80. client = 3-renegotiate-server-resume-client
  81. [3-renegotiate-server-resume-server]
  82. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  83. CipherString = DEFAULT
  84. MaxProtocol = TLSv1.2
  85. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  86. [3-renegotiate-server-resume-client]
  87. CipherString = DEFAULT
  88. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  89. VerifyMode = Peer
  90. [test-3]
  91. ExpectedResult = Success
  92. HandshakeMode = RenegotiateServer
  93. Method = TLS
  94. ResumptionExpected = Yes
  95. # ===========================================================
  96. [4-renegotiate-client-auth-require]
  97. ssl_conf = 4-renegotiate-client-auth-require-ssl
  98. [4-renegotiate-client-auth-require-ssl]
  99. server = 4-renegotiate-client-auth-require-server
  100. client = 4-renegotiate-client-auth-require-client
  101. [4-renegotiate-client-auth-require-server]
  102. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  103. CipherString = DEFAULT
  104. MaxProtocol = TLSv1.2
  105. Options = NoResumptionOnRenegotiation
  106. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  107. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  108. VerifyMode = Require
  109. [4-renegotiate-client-auth-require-client]
  110. Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
  111. CipherString = DEFAULT
  112. PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
  113. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  114. VerifyMode = Peer
  115. [test-4]
  116. ExpectedResult = Success
  117. HandshakeMode = RenegotiateServer
  118. Method = TLS
  119. ResumptionExpected = No
  120. # ===========================================================
  121. [5-renegotiate-client-auth-once]
  122. ssl_conf = 5-renegotiate-client-auth-once-ssl
  123. [5-renegotiate-client-auth-once-ssl]
  124. server = 5-renegotiate-client-auth-once-server
  125. client = 5-renegotiate-client-auth-once-client
  126. [5-renegotiate-client-auth-once-server]
  127. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  128. CipherString = DEFAULT
  129. MaxProtocol = TLSv1.2
  130. Options = NoResumptionOnRenegotiation
  131. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  132. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  133. VerifyMode = Once
  134. [5-renegotiate-client-auth-once-client]
  135. Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
  136. CipherString = DEFAULT
  137. PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
  138. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  139. VerifyMode = Peer
  140. [test-5]
  141. ExpectedResult = Success
  142. HandshakeMode = RenegotiateServer
  143. Method = TLS
  144. ResumptionExpected = No
  145. # ===========================================================
  146. [6-renegotiate-aead-to-non-aead]
  147. ssl_conf = 6-renegotiate-aead-to-non-aead-ssl
  148. [6-renegotiate-aead-to-non-aead-ssl]
  149. server = 6-renegotiate-aead-to-non-aead-server
  150. client = 6-renegotiate-aead-to-non-aead-client
  151. [6-renegotiate-aead-to-non-aead-server]
  152. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  153. CipherString = DEFAULT
  154. Options = NoResumptionOnRenegotiation
  155. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  156. [6-renegotiate-aead-to-non-aead-client]
  157. CipherString = AES128-GCM-SHA256
  158. MaxProtocol = TLSv1.2
  159. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  160. VerifyMode = Peer
  161. [test-6]
  162. ExpectedResult = Success
  163. HandshakeMode = RenegotiateClient
  164. Method = TLS
  165. ResumptionExpected = No
  166. client = 6-renegotiate-aead-to-non-aead-client-extra
  167. [6-renegotiate-aead-to-non-aead-client-extra]
  168. RenegotiateCiphers = AES128-SHA
  169. # ===========================================================
  170. [7-renegotiate-non-aead-to-aead]
  171. ssl_conf = 7-renegotiate-non-aead-to-aead-ssl
  172. [7-renegotiate-non-aead-to-aead-ssl]
  173. server = 7-renegotiate-non-aead-to-aead-server
  174. client = 7-renegotiate-non-aead-to-aead-client
  175. [7-renegotiate-non-aead-to-aead-server]
  176. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  177. CipherString = DEFAULT
  178. Options = NoResumptionOnRenegotiation
  179. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  180. [7-renegotiate-non-aead-to-aead-client]
  181. CipherString = AES128-SHA
  182. MaxProtocol = TLSv1.2
  183. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  184. VerifyMode = Peer
  185. [test-7]
  186. ExpectedResult = Success
  187. HandshakeMode = RenegotiateClient
  188. Method = TLS
  189. ResumptionExpected = No
  190. client = 7-renegotiate-non-aead-to-aead-client-extra
  191. [7-renegotiate-non-aead-to-aead-client-extra]
  192. RenegotiateCiphers = AES128-GCM-SHA256
  193. # ===========================================================
  194. [8-renegotiate-non-aead-to-non-aead]
  195. ssl_conf = 8-renegotiate-non-aead-to-non-aead-ssl
  196. [8-renegotiate-non-aead-to-non-aead-ssl]
  197. server = 8-renegotiate-non-aead-to-non-aead-server
  198. client = 8-renegotiate-non-aead-to-non-aead-client
  199. [8-renegotiate-non-aead-to-non-aead-server]
  200. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  201. CipherString = DEFAULT
  202. Options = NoResumptionOnRenegotiation
  203. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  204. [8-renegotiate-non-aead-to-non-aead-client]
  205. CipherString = AES128-SHA
  206. MaxProtocol = TLSv1.2
  207. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  208. VerifyMode = Peer
  209. [test-8]
  210. ExpectedResult = Success
  211. HandshakeMode = RenegotiateClient
  212. Method = TLS
  213. ResumptionExpected = No
  214. client = 8-renegotiate-non-aead-to-non-aead-client-extra
  215. [8-renegotiate-non-aead-to-non-aead-client-extra]
  216. RenegotiateCiphers = AES256-SHA
  217. # ===========================================================
  218. [9-renegotiate-aead-to-aead]
  219. ssl_conf = 9-renegotiate-aead-to-aead-ssl
  220. [9-renegotiate-aead-to-aead-ssl]
  221. server = 9-renegotiate-aead-to-aead-server
  222. client = 9-renegotiate-aead-to-aead-client
  223. [9-renegotiate-aead-to-aead-server]
  224. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  225. CipherString = DEFAULT
  226. Options = NoResumptionOnRenegotiation
  227. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  228. [9-renegotiate-aead-to-aead-client]
  229. CipherString = AES128-GCM-SHA256
  230. MaxProtocol = TLSv1.2
  231. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  232. VerifyMode = Peer
  233. [test-9]
  234. ExpectedResult = Success
  235. HandshakeMode = RenegotiateClient
  236. Method = TLS
  237. ResumptionExpected = No
  238. client = 9-renegotiate-aead-to-aead-client-extra
  239. [9-renegotiate-aead-to-aead-client-extra]
  240. RenegotiateCiphers = AES256-GCM-SHA384