1 # Generated with generate_ssl_tests.pl
5 test-0 = 0-verify-success
6 test-1 = 1-verify-custom-reject
7 test-2 = 2-verify-custom-allow
8 test-3 = 3-noverify-success
9 test-4 = 4-noverify-ignore-custom-reject
10 test-5 = 5-noverify-accept-custom-allow
11 test-6 = 6-verify-fail-no-root
12 test-7 = 7-verify-custom-success-no-root
13 test-8 = 8-verify-custom-fail-no-root
14 # ===========================================================
17 ssl_conf = 0-verify-success-ssl
19 [0-verify-success-ssl]
20 server = 0-verify-success-server
21 client = 0-verify-success-client
23 [0-verify-success-server]
24 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
25 CipherString = DEFAULT
26 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
28 [0-verify-success-client]
29 CipherString = DEFAULT
30 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
34 ExpectedResult = Success
37 # ===========================================================
39 [1-verify-custom-reject]
40 ssl_conf = 1-verify-custom-reject-ssl
42 [1-verify-custom-reject-ssl]
43 server = 1-verify-custom-reject-server
44 client = 1-verify-custom-reject-client
46 [1-verify-custom-reject-server]
47 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
48 CipherString = DEFAULT
49 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
51 [1-verify-custom-reject-client]
52 CipherString = DEFAULT
53 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
57 ExpectedClientAlert = HandshakeFailure
58 ExpectedResult = ClientFail
59 client = 1-verify-custom-reject-client-extra
61 [1-verify-custom-reject-client-extra]
62 VerifyCallback = RejectAll
65 # ===========================================================
67 [2-verify-custom-allow]
68 ssl_conf = 2-verify-custom-allow-ssl
70 [2-verify-custom-allow-ssl]
71 server = 2-verify-custom-allow-server
72 client = 2-verify-custom-allow-client
74 [2-verify-custom-allow-server]
75 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
76 CipherString = DEFAULT
77 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
79 [2-verify-custom-allow-client]
80 CipherString = DEFAULT
81 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
85 ExpectedResult = Success
86 client = 2-verify-custom-allow-client-extra
88 [2-verify-custom-allow-client-extra]
89 VerifyCallback = AcceptAll
92 # ===========================================================
95 ssl_conf = 3-noverify-success-ssl
97 [3-noverify-success-ssl]
98 server = 3-noverify-success-server
99 client = 3-noverify-success-client
101 [3-noverify-success-server]
102 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
103 CipherString = DEFAULT
104 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
106 [3-noverify-success-client]
107 CipherString = DEFAULT
110 ExpectedResult = Success
113 # ===========================================================
115 [4-noverify-ignore-custom-reject]
116 ssl_conf = 4-noverify-ignore-custom-reject-ssl
118 [4-noverify-ignore-custom-reject-ssl]
119 server = 4-noverify-ignore-custom-reject-server
120 client = 4-noverify-ignore-custom-reject-client
122 [4-noverify-ignore-custom-reject-server]
123 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
124 CipherString = DEFAULT
125 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
127 [4-noverify-ignore-custom-reject-client]
128 CipherString = DEFAULT
131 ExpectedResult = Success
132 client = 4-noverify-ignore-custom-reject-client-extra
134 [4-noverify-ignore-custom-reject-client-extra]
135 VerifyCallback = RejectAll
138 # ===========================================================
140 [5-noverify-accept-custom-allow]
141 ssl_conf = 5-noverify-accept-custom-allow-ssl
143 [5-noverify-accept-custom-allow-ssl]
144 server = 5-noverify-accept-custom-allow-server
145 client = 5-noverify-accept-custom-allow-client
147 [5-noverify-accept-custom-allow-server]
148 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
149 CipherString = DEFAULT
150 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
152 [5-noverify-accept-custom-allow-client]
153 CipherString = DEFAULT
156 ExpectedResult = Success
157 client = 5-noverify-accept-custom-allow-client-extra
159 [5-noverify-accept-custom-allow-client-extra]
160 VerifyCallback = AcceptAll
163 # ===========================================================
165 [6-verify-fail-no-root]
166 ssl_conf = 6-verify-fail-no-root-ssl
168 [6-verify-fail-no-root-ssl]
169 server = 6-verify-fail-no-root-server
170 client = 6-verify-fail-no-root-client
172 [6-verify-fail-no-root-server]
173 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
174 CipherString = DEFAULT
175 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
177 [6-verify-fail-no-root-client]
178 CipherString = DEFAULT
182 ExpectedClientAlert = UnknownCA
183 ExpectedResult = ClientFail
186 # ===========================================================
188 [7-verify-custom-success-no-root]
189 ssl_conf = 7-verify-custom-success-no-root-ssl
191 [7-verify-custom-success-no-root-ssl]
192 server = 7-verify-custom-success-no-root-server
193 client = 7-verify-custom-success-no-root-client
195 [7-verify-custom-success-no-root-server]
196 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
197 CipherString = DEFAULT
198 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
200 [7-verify-custom-success-no-root-client]
201 CipherString = DEFAULT
205 ExpectedResult = Success
206 client = 7-verify-custom-success-no-root-client-extra
208 [7-verify-custom-success-no-root-client-extra]
209 VerifyCallback = AcceptAll
212 # ===========================================================
214 [8-verify-custom-fail-no-root]
215 ssl_conf = 8-verify-custom-fail-no-root-ssl
217 [8-verify-custom-fail-no-root-ssl]
218 server = 8-verify-custom-fail-no-root-server
219 client = 8-verify-custom-fail-no-root-client
221 [8-verify-custom-fail-no-root-server]
222 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
223 CipherString = DEFAULT
224 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
226 [8-verify-custom-fail-no-root-client]
227 CipherString = DEFAULT
231 ExpectedClientAlert = HandshakeFailure
232 ExpectedResult = ClientFail
233 client = 8-verify-custom-fail-no-root-client-extra
235 [8-verify-custom-fail-no-root-client-extra]
236 VerifyCallback = RejectAll