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
29 [0-verify-success-client]
30 CipherString = DEFAULT
31 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
36 ExpectedResult = Success
39 # ===========================================================
41 [1-verify-custom-reject]
42 ssl_conf = 1-verify-custom-reject-ssl
44 [1-verify-custom-reject-ssl]
45 server = 1-verify-custom-reject-server
46 client = 1-verify-custom-reject-client
48 [1-verify-custom-reject-server]
49 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
50 CipherString = DEFAULT
51 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
54 [1-verify-custom-reject-client]
55 CipherString = DEFAULT
56 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
61 ClientAlert = HandshakeFailure
62 ClientVerifyCallback = RejectAll
63 ExpectedResult = ClientFail
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
81 [2-verify-custom-allow-client]
82 CipherString = DEFAULT
83 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
88 ClientVerifyCallback = AcceptAll
89 ExpectedResult = Success
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
107 [3-noverify-success-client]
108 CipherString = DEFAULT
112 ExpectedResult = Success
115 # ===========================================================
117 [4-noverify-ignore-custom-reject]
118 ssl_conf = 4-noverify-ignore-custom-reject-ssl
120 [4-noverify-ignore-custom-reject-ssl]
121 server = 4-noverify-ignore-custom-reject-server
122 client = 4-noverify-ignore-custom-reject-client
124 [4-noverify-ignore-custom-reject-server]
125 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
126 CipherString = DEFAULT
127 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
130 [4-noverify-ignore-custom-reject-client]
131 CipherString = DEFAULT
135 ClientVerifyCallback = RejectAll
136 ExpectedResult = Success
139 # ===========================================================
141 [5-noverify-accept-custom-allow]
142 ssl_conf = 5-noverify-accept-custom-allow-ssl
144 [5-noverify-accept-custom-allow-ssl]
145 server = 5-noverify-accept-custom-allow-server
146 client = 5-noverify-accept-custom-allow-client
148 [5-noverify-accept-custom-allow-server]
149 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
150 CipherString = DEFAULT
151 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
154 [5-noverify-accept-custom-allow-client]
155 CipherString = DEFAULT
159 ClientVerifyCallback = AcceptAll
160 ExpectedResult = Success
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
178 [6-verify-fail-no-root-client]
179 CipherString = DEFAULT
184 ClientAlert = UnknownCA
185 ExpectedResult = ClientFail
188 # ===========================================================
190 [7-verify-custom-success-no-root]
191 ssl_conf = 7-verify-custom-success-no-root-ssl
193 [7-verify-custom-success-no-root-ssl]
194 server = 7-verify-custom-success-no-root-server
195 client = 7-verify-custom-success-no-root-client
197 [7-verify-custom-success-no-root-server]
198 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
199 CipherString = DEFAULT
200 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
203 [7-verify-custom-success-no-root-client]
204 CipherString = DEFAULT
209 ClientVerifyCallback = AcceptAll
210 ExpectedResult = Success
213 # ===========================================================
215 [8-verify-custom-fail-no-root]
216 ssl_conf = 8-verify-custom-fail-no-root-ssl
218 [8-verify-custom-fail-no-root-ssl]
219 server = 8-verify-custom-fail-no-root-server
220 client = 8-verify-custom-fail-no-root-client
222 [8-verify-custom-fail-no-root-server]
223 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
224 CipherString = DEFAULT
225 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
228 [8-verify-custom-fail-no-root-client]
229 CipherString = DEFAULT
234 ClientAlert = HandshakeFailure
235 ClientVerifyCallback = RejectAll
236 ExpectedResult = ClientFail