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