lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | # Generated with generate_ssl_tests.pl |
| 2 | |
| 3 | num_tests = 4 |
| 4 | |
| 5 | test-0 = 0-srp |
| 6 | test-1 = 1-srp-bad-password |
| 7 | test-2 = 2-srp-auth |
| 8 | test-3 = 3-srp-auth-bad-password |
| 9 | # =========================================================== |
| 10 | |
| 11 | [0-srp] |
| 12 | ssl_conf = 0-srp-ssl |
| 13 | |
| 14 | [0-srp-ssl] |
| 15 | server = 0-srp-server |
| 16 | client = 0-srp-client |
| 17 | |
| 18 | [0-srp-server] |
| 19 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem |
| 20 | CipherString = SRP |
| 21 | MaxProtocol = TLSv1.2 |
| 22 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem |
| 23 | |
| 24 | [0-srp-client] |
| 25 | CipherString = SRP |
| 26 | MaxProtocol = TLSv1.2 |
| 27 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 28 | VerifyMode = Peer |
| 29 | |
| 30 | [test-0] |
| 31 | ExpectedResult = Success |
| 32 | server = 0-srp-server-extra |
| 33 | client = 0-srp-client-extra |
| 34 | |
| 35 | [0-srp-server-extra] |
| 36 | SRPPassword = password |
| 37 | SRPUser = user |
| 38 | |
| 39 | [0-srp-client-extra] |
| 40 | SRPPassword = password |
| 41 | SRPUser = user |
| 42 | |
| 43 | |
| 44 | # =========================================================== |
| 45 | |
| 46 | [1-srp-bad-password] |
| 47 | ssl_conf = 1-srp-bad-password-ssl |
| 48 | |
| 49 | [1-srp-bad-password-ssl] |
| 50 | server = 1-srp-bad-password-server |
| 51 | client = 1-srp-bad-password-client |
| 52 | |
| 53 | [1-srp-bad-password-server] |
| 54 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem |
| 55 | CipherString = SRP |
| 56 | MaxProtocol = TLSv1.2 |
| 57 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem |
| 58 | |
| 59 | [1-srp-bad-password-client] |
| 60 | CipherString = SRP |
| 61 | MaxProtocol = TLSv1.2 |
| 62 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 63 | VerifyMode = Peer |
| 64 | |
| 65 | [test-1] |
| 66 | ExpectedResult = ServerFail |
| 67 | server = 1-srp-bad-password-server-extra |
| 68 | client = 1-srp-bad-password-client-extra |
| 69 | |
| 70 | [1-srp-bad-password-server-extra] |
| 71 | SRPPassword = password |
| 72 | SRPUser = user |
| 73 | |
| 74 | [1-srp-bad-password-client-extra] |
| 75 | SRPPassword = passw0rd |
| 76 | SRPUser = user |
| 77 | |
| 78 | |
| 79 | # =========================================================== |
| 80 | |
| 81 | [2-srp-auth] |
| 82 | ssl_conf = 2-srp-auth-ssl |
| 83 | |
| 84 | [2-srp-auth-ssl] |
| 85 | server = 2-srp-auth-server |
| 86 | client = 2-srp-auth-client |
| 87 | |
| 88 | [2-srp-auth-server] |
| 89 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem |
| 90 | CipherString = aSRP |
| 91 | MaxProtocol = TLSv1.2 |
| 92 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem |
| 93 | |
| 94 | [2-srp-auth-client] |
| 95 | CipherString = aSRP |
| 96 | MaxProtocol = TLSv1.2 |
| 97 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 98 | VerifyMode = Peer |
| 99 | |
| 100 | [test-2] |
| 101 | ExpectedResult = Success |
| 102 | server = 2-srp-auth-server-extra |
| 103 | client = 2-srp-auth-client-extra |
| 104 | |
| 105 | [2-srp-auth-server-extra] |
| 106 | SRPPassword = password |
| 107 | SRPUser = user |
| 108 | |
| 109 | [2-srp-auth-client-extra] |
| 110 | SRPPassword = password |
| 111 | SRPUser = user |
| 112 | |
| 113 | |
| 114 | # =========================================================== |
| 115 | |
| 116 | [3-srp-auth-bad-password] |
| 117 | ssl_conf = 3-srp-auth-bad-password-ssl |
| 118 | |
| 119 | [3-srp-auth-bad-password-ssl] |
| 120 | server = 3-srp-auth-bad-password-server |
| 121 | client = 3-srp-auth-bad-password-client |
| 122 | |
| 123 | [3-srp-auth-bad-password-server] |
| 124 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem |
| 125 | CipherString = aSRP |
| 126 | MaxProtocol = TLSv1.2 |
| 127 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem |
| 128 | |
| 129 | [3-srp-auth-bad-password-client] |
| 130 | CipherString = aSRP |
| 131 | MaxProtocol = TLSv1.2 |
| 132 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 133 | VerifyMode = Peer |
| 134 | |
| 135 | [test-3] |
| 136 | ExpectedResult = ServerFail |
| 137 | server = 3-srp-auth-bad-password-server-extra |
| 138 | client = 3-srp-auth-bad-password-client-extra |
| 139 | |
| 140 | [3-srp-auth-bad-password-server-extra] |
| 141 | SRPPassword = password |
| 142 | SRPUser = user |
| 143 | |
| 144 | [3-srp-auth-bad-password-client-extra] |
| 145 | SRPPassword = passw0rd |
| 146 | SRPUser = user |
| 147 | |
| 148 | |