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 ClientAlert = HandshakeFailure
58 ClientVerifyCallback = RejectAll
59 ExpectedResult = ClientFail
62 # ===========================================================
64 [2-verify-custom-allow]
65 ssl_conf = 2-verify-custom-allow-ssl
67 [2-verify-custom-allow-ssl]
68 server = 2-verify-custom-allow-server
69 client = 2-verify-custom-allow-client
71 [2-verify-custom-allow-server]
72 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
73 CipherString = DEFAULT
74 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
76 [2-verify-custom-allow-client]
77 CipherString = DEFAULT
78 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
82 ClientVerifyCallback = AcceptAll
83 ExpectedResult = Success
86 # ===========================================================
89 ssl_conf = 3-noverify-success-ssl
91 [3-noverify-success-ssl]
92 server = 3-noverify-success-server
93 client = 3-noverify-success-client
95 [3-noverify-success-server]
96 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
97 CipherString = DEFAULT
98 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
100 [3-noverify-success-client]
101 CipherString = DEFAULT
104 ExpectedResult = Success
107 # ===========================================================
109 [4-noverify-ignore-custom-reject]
110 ssl_conf = 4-noverify-ignore-custom-reject-ssl
112 [4-noverify-ignore-custom-reject-ssl]
113 server = 4-noverify-ignore-custom-reject-server
114 client = 4-noverify-ignore-custom-reject-client
116 [4-noverify-ignore-custom-reject-server]
117 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
118 CipherString = DEFAULT
119 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
121 [4-noverify-ignore-custom-reject-client]
122 CipherString = DEFAULT
125 ClientVerifyCallback = RejectAll
126 ExpectedResult = Success
129 # ===========================================================
131 [5-noverify-accept-custom-allow]
132 ssl_conf = 5-noverify-accept-custom-allow-ssl
134 [5-noverify-accept-custom-allow-ssl]
135 server = 5-noverify-accept-custom-allow-server
136 client = 5-noverify-accept-custom-allow-client
138 [5-noverify-accept-custom-allow-server]
139 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
140 CipherString = DEFAULT
141 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
143 [5-noverify-accept-custom-allow-client]
144 CipherString = DEFAULT
147 ClientVerifyCallback = AcceptAll
148 ExpectedResult = Success
151 # ===========================================================
153 [6-verify-fail-no-root]
154 ssl_conf = 6-verify-fail-no-root-ssl
156 [6-verify-fail-no-root-ssl]
157 server = 6-verify-fail-no-root-server
158 client = 6-verify-fail-no-root-client
160 [6-verify-fail-no-root-server]
161 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
162 CipherString = DEFAULT
163 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
165 [6-verify-fail-no-root-client]
166 CipherString = DEFAULT
170 ClientAlert = UnknownCA
171 ExpectedResult = ClientFail
174 # ===========================================================
176 [7-verify-custom-success-no-root]
177 ssl_conf = 7-verify-custom-success-no-root-ssl
179 [7-verify-custom-success-no-root-ssl]
180 server = 7-verify-custom-success-no-root-server
181 client = 7-verify-custom-success-no-root-client
183 [7-verify-custom-success-no-root-server]
184 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
185 CipherString = DEFAULT
186 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
188 [7-verify-custom-success-no-root-client]
189 CipherString = DEFAULT
193 ClientVerifyCallback = AcceptAll
194 ExpectedResult = Success
197 # ===========================================================
199 [8-verify-custom-fail-no-root]
200 ssl_conf = 8-verify-custom-fail-no-root-ssl
202 [8-verify-custom-fail-no-root-ssl]
203 server = 8-verify-custom-fail-no-root-server
204 client = 8-verify-custom-fail-no-root-client
206 [8-verify-custom-fail-no-root-server]
207 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
208 CipherString = DEFAULT
209 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
211 [8-verify-custom-fail-no-root-client]
212 CipherString = DEFAULT
216 ClientAlert = HandshakeFailure
217 ClientVerifyCallback = RejectAll
218 ExpectedResult = ClientFail