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-verify-custom-retry
9 test-4 = 4-noverify-success
10 test-5 = 5-noverify-ignore-custom-reject
11 test-6 = 6-noverify-accept-custom-allow
12 test-7 = 7-verify-fail-no-root
13 test-8 = 8-verify-custom-success-no-root
14 test-9 = 9-verify-custom-fail-no-root
15 # ===========================================================
18 ssl_conf = 0-verify-success-ssl
20 [0-verify-success-ssl]
21 server = 0-verify-success-server
22 client = 0-verify-success-client
24 [0-verify-success-server]
25 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
26 CipherString = DEFAULT
27 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
29 [0-verify-success-client]
30 CipherString = DEFAULT
31 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
35 ExpectedResult = Success
38 # ===========================================================
40 [1-verify-custom-reject]
41 ssl_conf = 1-verify-custom-reject-ssl
43 [1-verify-custom-reject-ssl]
44 server = 1-verify-custom-reject-server
45 client = 1-verify-custom-reject-client
47 [1-verify-custom-reject-server]
48 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
49 CipherString = DEFAULT
50 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
52 [1-verify-custom-reject-client]
53 CipherString = DEFAULT
54 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
58 ExpectedClientAlert = HandshakeFailure
59 ExpectedResult = ClientFail
60 client = 1-verify-custom-reject-client-extra
62 [1-verify-custom-reject-client-extra]
63 VerifyCallback = RejectAll
66 # ===========================================================
68 [2-verify-custom-allow]
69 ssl_conf = 2-verify-custom-allow-ssl
71 [2-verify-custom-allow-ssl]
72 server = 2-verify-custom-allow-server
73 client = 2-verify-custom-allow-client
75 [2-verify-custom-allow-server]
76 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
77 CipherString = DEFAULT
78 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
80 [2-verify-custom-allow-client]
81 CipherString = DEFAULT
82 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
86 ExpectedResult = Success
87 client = 2-verify-custom-allow-client-extra
89 [2-verify-custom-allow-client-extra]
90 VerifyCallback = AcceptAll
93 # ===========================================================
95 [3-verify-custom-retry]
96 ssl_conf = 3-verify-custom-retry-ssl
98 [3-verify-custom-retry-ssl]
99 server = 3-verify-custom-retry-server
100 client = 3-verify-custom-retry-client
102 [3-verify-custom-retry-server]
103 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
104 CipherString = DEFAULT
105 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
107 [3-verify-custom-retry-client]
108 CipherString = DEFAULT
109 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
113 ExpectedResult = Success
114 client = 3-verify-custom-retry-client-extra
116 [3-verify-custom-retry-client-extra]
117 VerifyCallback = RetryOnce
120 # ===========================================================
123 ssl_conf = 4-noverify-success-ssl
125 [4-noverify-success-ssl]
126 server = 4-noverify-success-server
127 client = 4-noverify-success-client
129 [4-noverify-success-server]
130 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
131 CipherString = DEFAULT
132 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
134 [4-noverify-success-client]
135 CipherString = DEFAULT
138 ExpectedResult = Success
141 # ===========================================================
143 [5-noverify-ignore-custom-reject]
144 ssl_conf = 5-noverify-ignore-custom-reject-ssl
146 [5-noverify-ignore-custom-reject-ssl]
147 server = 5-noverify-ignore-custom-reject-server
148 client = 5-noverify-ignore-custom-reject-client
150 [5-noverify-ignore-custom-reject-server]
151 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
152 CipherString = DEFAULT
153 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
155 [5-noverify-ignore-custom-reject-client]
156 CipherString = DEFAULT
159 ExpectedResult = Success
160 client = 5-noverify-ignore-custom-reject-client-extra
162 [5-noverify-ignore-custom-reject-client-extra]
163 VerifyCallback = RejectAll
166 # ===========================================================
168 [6-noverify-accept-custom-allow]
169 ssl_conf = 6-noverify-accept-custom-allow-ssl
171 [6-noverify-accept-custom-allow-ssl]
172 server = 6-noverify-accept-custom-allow-server
173 client = 6-noverify-accept-custom-allow-client
175 [6-noverify-accept-custom-allow-server]
176 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
177 CipherString = DEFAULT
178 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
180 [6-noverify-accept-custom-allow-client]
181 CipherString = DEFAULT
184 ExpectedResult = Success
185 client = 6-noverify-accept-custom-allow-client-extra
187 [6-noverify-accept-custom-allow-client-extra]
188 VerifyCallback = AcceptAll
191 # ===========================================================
193 [7-verify-fail-no-root]
194 ssl_conf = 7-verify-fail-no-root-ssl
196 [7-verify-fail-no-root-ssl]
197 server = 7-verify-fail-no-root-server
198 client = 7-verify-fail-no-root-client
200 [7-verify-fail-no-root-server]
201 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
202 CipherString = DEFAULT
203 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
205 [7-verify-fail-no-root-client]
206 CipherString = DEFAULT
210 ExpectedClientAlert = UnknownCA
211 ExpectedResult = ClientFail
214 # ===========================================================
216 [8-verify-custom-success-no-root]
217 ssl_conf = 8-verify-custom-success-no-root-ssl
219 [8-verify-custom-success-no-root-ssl]
220 server = 8-verify-custom-success-no-root-server
221 client = 8-verify-custom-success-no-root-client
223 [8-verify-custom-success-no-root-server]
224 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
225 CipherString = DEFAULT
226 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
228 [8-verify-custom-success-no-root-client]
229 CipherString = DEFAULT
233 ExpectedResult = Success
234 client = 8-verify-custom-success-no-root-client-extra
236 [8-verify-custom-success-no-root-client-extra]
237 VerifyCallback = AcceptAll
240 # ===========================================================
242 [9-verify-custom-fail-no-root]
243 ssl_conf = 9-verify-custom-fail-no-root-ssl
245 [9-verify-custom-fail-no-root-ssl]
246 server = 9-verify-custom-fail-no-root-server
247 client = 9-verify-custom-fail-no-root-client
249 [9-verify-custom-fail-no-root-server]
250 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
251 CipherString = DEFAULT
252 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
254 [9-verify-custom-fail-no-root-client]
255 CipherString = DEFAULT
259 ExpectedClientAlert = HandshakeFailure
260 ExpectedResult = ClientFail
261 client = 9-verify-custom-fail-no-root-client-extra
263 [9-verify-custom-fail-no-root-client-extra]
264 VerifyCallback = RejectAll