30-extended-master-secret.cnf 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. # Generated with generate_ssl_tests.pl
  2. num_tests = 7
  3. test-0 = 0-disable-extended-master-secret-server-sha
  4. test-1 = 1-disable-extended-master-secret-client-sha
  5. test-2 = 2-disable-extended-master-secret-both-sha
  6. test-3 = 3-disable-extended-master-secret-both-resume
  7. test-4 = 4-disable-extended-master-secret-server-sha2
  8. test-5 = 5-disable-extended-master-secret-client-sha2
  9. test-6 = 6-disable-extended-master-secret-both-sha2
  10. # ===========================================================
  11. [0-disable-extended-master-secret-server-sha]
  12. ssl_conf = 0-disable-extended-master-secret-server-sha-ssl
  13. [0-disable-extended-master-secret-server-sha-ssl]
  14. server = 0-disable-extended-master-secret-server-sha-server
  15. client = 0-disable-extended-master-secret-server-sha-client
  16. [0-disable-extended-master-secret-server-sha-server]
  17. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  18. CipherString = DEFAULT
  19. Options = -ExtendedMasterSecret
  20. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  21. [0-disable-extended-master-secret-server-sha-client]
  22. CipherString = AES128-SHA
  23. MaxProtocol = TLSv1.2
  24. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  25. VerifyMode = Peer
  26. [test-0]
  27. ExpectedResult = Success
  28. FIPSversion = <=3.1.0
  29. # ===========================================================
  30. [1-disable-extended-master-secret-client-sha]
  31. ssl_conf = 1-disable-extended-master-secret-client-sha-ssl
  32. [1-disable-extended-master-secret-client-sha-ssl]
  33. server = 1-disable-extended-master-secret-client-sha-server
  34. client = 1-disable-extended-master-secret-client-sha-client
  35. [1-disable-extended-master-secret-client-sha-server]
  36. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  37. CipherString = DEFAULT
  38. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  39. [1-disable-extended-master-secret-client-sha-client]
  40. CipherString = AES128-SHA
  41. MaxProtocol = TLSv1.2
  42. Options = -ExtendedMasterSecret
  43. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  44. VerifyMode = Peer
  45. [test-1]
  46. ExpectedResult = Success
  47. FIPSversion = <=3.1.0
  48. # ===========================================================
  49. [2-disable-extended-master-secret-both-sha]
  50. ssl_conf = 2-disable-extended-master-secret-both-sha-ssl
  51. [2-disable-extended-master-secret-both-sha-ssl]
  52. server = 2-disable-extended-master-secret-both-sha-server
  53. client = 2-disable-extended-master-secret-both-sha-client
  54. [2-disable-extended-master-secret-both-sha-server]
  55. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  56. CipherString = DEFAULT
  57. Options = -ExtendedMasterSecret
  58. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  59. [2-disable-extended-master-secret-both-sha-client]
  60. CipherString = AES128-SHA
  61. MaxProtocol = TLSv1.2
  62. Options = -ExtendedMasterSecret
  63. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  64. VerifyMode = Peer
  65. [test-2]
  66. ExpectedResult = Success
  67. FIPSversion = <=3.1.0
  68. # ===========================================================
  69. [3-disable-extended-master-secret-both-resume]
  70. ssl_conf = 3-disable-extended-master-secret-both-resume-ssl
  71. [3-disable-extended-master-secret-both-resume-ssl]
  72. server = 3-disable-extended-master-secret-both-resume-server
  73. client = 3-disable-extended-master-secret-both-resume-client
  74. resume-server = 3-disable-extended-master-secret-both-resume-resume-server
  75. resume-client = 3-disable-extended-master-secret-both-resume-resume-client
  76. [3-disable-extended-master-secret-both-resume-server]
  77. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  78. CipherString = DEFAULT
  79. Options = -ExtendedMasterSecret
  80. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  81. [3-disable-extended-master-secret-both-resume-resume-server]
  82. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  83. CipherString = DEFAULT
  84. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  85. [3-disable-extended-master-secret-both-resume-client]
  86. CipherString = AES128-SHA
  87. MaxProtocol = TLSv1.2
  88. Options = -ExtendedMasterSecret
  89. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  90. VerifyMode = Peer
  91. [3-disable-extended-master-secret-both-resume-resume-client]
  92. CipherString = AES128-SHA
  93. MaxProtocol = TLSv1.2
  94. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  95. VerifyMode = Peer
  96. [test-3]
  97. ExpectedResult = Success
  98. FIPSversion = <=3.1.0
  99. HandshakeMode = Resume
  100. # ===========================================================
  101. [4-disable-extended-master-secret-server-sha2]
  102. ssl_conf = 4-disable-extended-master-secret-server-sha2-ssl
  103. [4-disable-extended-master-secret-server-sha2-ssl]
  104. server = 4-disable-extended-master-secret-server-sha2-server
  105. client = 4-disable-extended-master-secret-server-sha2-client
  106. [4-disable-extended-master-secret-server-sha2-server]
  107. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  108. CipherString = DEFAULT
  109. Options = -ExtendedMasterSecret
  110. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  111. [4-disable-extended-master-secret-server-sha2-client]
  112. CipherString = AES128-SHA256
  113. MaxProtocol = TLSv1.2
  114. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  115. VerifyMode = Peer
  116. [test-4]
  117. ExpectedResult = Success
  118. FIPSversion = <=3.1.0
  119. # ===========================================================
  120. [5-disable-extended-master-secret-client-sha2]
  121. ssl_conf = 5-disable-extended-master-secret-client-sha2-ssl
  122. [5-disable-extended-master-secret-client-sha2-ssl]
  123. server = 5-disable-extended-master-secret-client-sha2-server
  124. client = 5-disable-extended-master-secret-client-sha2-client
  125. [5-disable-extended-master-secret-client-sha2-server]
  126. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  127. CipherString = DEFAULT
  128. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  129. [5-disable-extended-master-secret-client-sha2-client]
  130. CipherString = AES128-SHA256
  131. MaxProtocol = TLSv1.2
  132. Options = -ExtendedMasterSecret
  133. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  134. VerifyMode = Peer
  135. [test-5]
  136. ExpectedResult = Success
  137. FIPSversion = <=3.1.0
  138. # ===========================================================
  139. [6-disable-extended-master-secret-both-sha2]
  140. ssl_conf = 6-disable-extended-master-secret-both-sha2-ssl
  141. [6-disable-extended-master-secret-both-sha2-ssl]
  142. server = 6-disable-extended-master-secret-both-sha2-server
  143. client = 6-disable-extended-master-secret-both-sha2-client
  144. [6-disable-extended-master-secret-both-sha2-server]
  145. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  146. CipherString = DEFAULT
  147. Options = -ExtendedMasterSecret
  148. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  149. [6-disable-extended-master-secret-both-sha2-client]
  150. CipherString = AES128-SHA256
  151. MaxProtocol = TLSv1.2
  152. Options = -ExtendedMasterSecret
  153. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  154. VerifyMode = Peer
  155. [test-6]
  156. ExpectedResult = Success
  157. FIPSversion = <=3.1.0