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