2
0

23-srp.cnf 3.1 KB

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