19-mac-then-encrypt.conf 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. # Generated with generate_ssl_tests.pl
  2. num_tests = 6
  3. test-0 = 0-disable-encrypt-then-mac-server-sha
  4. test-1 = 1-disable-encrypt-then-mac-client-sha
  5. test-2 = 2-disable-encrypt-then-mac-both-sha
  6. test-3 = 3-disable-encrypt-then-mac-server-sha2
  7. test-4 = 4-disable-encrypt-then-mac-client-sha2
  8. test-5 = 5-disable-encrypt-then-mac-both-sha2
  9. # ===========================================================
  10. [0-disable-encrypt-then-mac-server-sha]
  11. ssl_conf = 0-disable-encrypt-then-mac-server-sha-ssl
  12. [0-disable-encrypt-then-mac-server-sha-ssl]
  13. server = 0-disable-encrypt-then-mac-server-sha-server
  14. client = 0-disable-encrypt-then-mac-server-sha-client
  15. [0-disable-encrypt-then-mac-server-sha-server]
  16. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  17. CipherString = DEFAULT
  18. Options = -EncryptThenMac
  19. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  20. [0-disable-encrypt-then-mac-server-sha-client]
  21. CipherString = AES128-SHA
  22. MaxProtocol = TLSv1.2
  23. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  24. VerifyMode = Peer
  25. [test-0]
  26. ExpectedResult = Success
  27. # ===========================================================
  28. [1-disable-encrypt-then-mac-client-sha]
  29. ssl_conf = 1-disable-encrypt-then-mac-client-sha-ssl
  30. [1-disable-encrypt-then-mac-client-sha-ssl]
  31. server = 1-disable-encrypt-then-mac-client-sha-server
  32. client = 1-disable-encrypt-then-mac-client-sha-client
  33. [1-disable-encrypt-then-mac-client-sha-server]
  34. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  35. CipherString = DEFAULT
  36. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  37. [1-disable-encrypt-then-mac-client-sha-client]
  38. CipherString = AES128-SHA
  39. MaxProtocol = TLSv1.2
  40. Options = -EncryptThenMac
  41. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  42. VerifyMode = Peer
  43. [test-1]
  44. ExpectedResult = Success
  45. # ===========================================================
  46. [2-disable-encrypt-then-mac-both-sha]
  47. ssl_conf = 2-disable-encrypt-then-mac-both-sha-ssl
  48. [2-disable-encrypt-then-mac-both-sha-ssl]
  49. server = 2-disable-encrypt-then-mac-both-sha-server
  50. client = 2-disable-encrypt-then-mac-both-sha-client
  51. [2-disable-encrypt-then-mac-both-sha-server]
  52. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  53. CipherString = DEFAULT
  54. Options = -EncryptThenMac
  55. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  56. [2-disable-encrypt-then-mac-both-sha-client]
  57. CipherString = AES128-SHA
  58. MaxProtocol = TLSv1.2
  59. Options = -EncryptThenMac
  60. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  61. VerifyMode = Peer
  62. [test-2]
  63. ExpectedResult = Success
  64. # ===========================================================
  65. [3-disable-encrypt-then-mac-server-sha2]
  66. ssl_conf = 3-disable-encrypt-then-mac-server-sha2-ssl
  67. [3-disable-encrypt-then-mac-server-sha2-ssl]
  68. server = 3-disable-encrypt-then-mac-server-sha2-server
  69. client = 3-disable-encrypt-then-mac-server-sha2-client
  70. [3-disable-encrypt-then-mac-server-sha2-server]
  71. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  72. CipherString = DEFAULT
  73. Options = -EncryptThenMac
  74. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  75. [3-disable-encrypt-then-mac-server-sha2-client]
  76. CipherString = AES128-SHA256
  77. MaxProtocol = TLSv1.2
  78. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  79. VerifyMode = Peer
  80. [test-3]
  81. ExpectedResult = Success
  82. # ===========================================================
  83. [4-disable-encrypt-then-mac-client-sha2]
  84. ssl_conf = 4-disable-encrypt-then-mac-client-sha2-ssl
  85. [4-disable-encrypt-then-mac-client-sha2-ssl]
  86. server = 4-disable-encrypt-then-mac-client-sha2-server
  87. client = 4-disable-encrypt-then-mac-client-sha2-client
  88. [4-disable-encrypt-then-mac-client-sha2-server]
  89. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  90. CipherString = DEFAULT
  91. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  92. [4-disable-encrypt-then-mac-client-sha2-client]
  93. CipherString = AES128-SHA256
  94. MaxProtocol = TLSv1.2
  95. Options = -EncryptThenMac
  96. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  97. VerifyMode = Peer
  98. [test-4]
  99. ExpectedResult = Success
  100. # ===========================================================
  101. [5-disable-encrypt-then-mac-both-sha2]
  102. ssl_conf = 5-disable-encrypt-then-mac-both-sha2-ssl
  103. [5-disable-encrypt-then-mac-both-sha2-ssl]
  104. server = 5-disable-encrypt-then-mac-both-sha2-server
  105. client = 5-disable-encrypt-then-mac-both-sha2-client
  106. [5-disable-encrypt-then-mac-both-sha2-server]
  107. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  108. CipherString = DEFAULT
  109. Options = -EncryptThenMac
  110. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  111. [5-disable-encrypt-then-mac-both-sha2-client]
  112. CipherString = AES128-SHA256
  113. MaxProtocol = TLSv1.2
  114. Options = -EncryptThenMac
  115. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  116. VerifyMode = Peer
  117. [test-5]
  118. ExpectedResult = Success