xref: /freebsd/crypto/openssl/test/ssl-tests/30-extended-master-secret.cnf (revision 96190b4fef3b4a0cc3ca0606b0c4e3e69a5e6717)
1# Generated with generate_ssl_tests.pl
2
3num_tests = 7
4
5test-0 = 0-disable-extended-master-secret-server-sha
6test-1 = 1-disable-extended-master-secret-client-sha
7test-2 = 2-disable-extended-master-secret-both-sha
8test-3 = 3-disable-extended-master-secret-both-resume
9test-4 = 4-disable-extended-master-secret-server-sha2
10test-5 = 5-disable-extended-master-secret-client-sha2
11test-6 = 6-disable-extended-master-secret-both-sha2
12# ===========================================================
13
14[0-disable-extended-master-secret-server-sha]
15ssl_conf = 0-disable-extended-master-secret-server-sha-ssl
16
17[0-disable-extended-master-secret-server-sha-ssl]
18server = 0-disable-extended-master-secret-server-sha-server
19client = 0-disable-extended-master-secret-server-sha-client
20
21[0-disable-extended-master-secret-server-sha-server]
22Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
23CipherString = DEFAULT
24Options = -ExtendedMasterSecret
25PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
26
27[0-disable-extended-master-secret-server-sha-client]
28CipherString = AES128-SHA
29MaxProtocol = TLSv1.2
30VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
31VerifyMode = Peer
32
33[test-0]
34ExpectedResult = Success
35
36
37# ===========================================================
38
39[1-disable-extended-master-secret-client-sha]
40ssl_conf = 1-disable-extended-master-secret-client-sha-ssl
41
42[1-disable-extended-master-secret-client-sha-ssl]
43server = 1-disable-extended-master-secret-client-sha-server
44client = 1-disable-extended-master-secret-client-sha-client
45
46[1-disable-extended-master-secret-client-sha-server]
47Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
48CipherString = DEFAULT
49PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
50
51[1-disable-extended-master-secret-client-sha-client]
52CipherString = AES128-SHA
53MaxProtocol = TLSv1.2
54Options = -ExtendedMasterSecret
55VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
56VerifyMode = Peer
57
58[test-1]
59ExpectedResult = Success
60
61
62# ===========================================================
63
64[2-disable-extended-master-secret-both-sha]
65ssl_conf = 2-disable-extended-master-secret-both-sha-ssl
66
67[2-disable-extended-master-secret-both-sha-ssl]
68server = 2-disable-extended-master-secret-both-sha-server
69client = 2-disable-extended-master-secret-both-sha-client
70
71[2-disable-extended-master-secret-both-sha-server]
72Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
73CipherString = DEFAULT
74Options = -ExtendedMasterSecret
75PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
76
77[2-disable-extended-master-secret-both-sha-client]
78CipherString = AES128-SHA
79MaxProtocol = TLSv1.2
80Options = -ExtendedMasterSecret
81VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
82VerifyMode = Peer
83
84[test-2]
85ExpectedResult = Success
86
87
88# ===========================================================
89
90[3-disable-extended-master-secret-both-resume]
91ssl_conf = 3-disable-extended-master-secret-both-resume-ssl
92
93[3-disable-extended-master-secret-both-resume-ssl]
94server = 3-disable-extended-master-secret-both-resume-server
95client = 3-disable-extended-master-secret-both-resume-client
96resume-server = 3-disable-extended-master-secret-both-resume-resume-server
97resume-client = 3-disable-extended-master-secret-both-resume-resume-client
98
99[3-disable-extended-master-secret-both-resume-server]
100Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
101CipherString = DEFAULT
102Options = -ExtendedMasterSecret
103PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
104
105[3-disable-extended-master-secret-both-resume-resume-server]
106Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
107CipherString = DEFAULT
108PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
109
110[3-disable-extended-master-secret-both-resume-client]
111CipherString = AES128-SHA
112MaxProtocol = TLSv1.2
113Options = -ExtendedMasterSecret
114VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
115VerifyMode = Peer
116
117[3-disable-extended-master-secret-both-resume-resume-client]
118CipherString = AES128-SHA
119MaxProtocol = TLSv1.2
120VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
121VerifyMode = Peer
122
123[test-3]
124ExpectedResult = Success
125HandshakeMode = Resume
126
127
128# ===========================================================
129
130[4-disable-extended-master-secret-server-sha2]
131ssl_conf = 4-disable-extended-master-secret-server-sha2-ssl
132
133[4-disable-extended-master-secret-server-sha2-ssl]
134server = 4-disable-extended-master-secret-server-sha2-server
135client = 4-disable-extended-master-secret-server-sha2-client
136
137[4-disable-extended-master-secret-server-sha2-server]
138Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
139CipherString = DEFAULT
140Options = -ExtendedMasterSecret
141PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
142
143[4-disable-extended-master-secret-server-sha2-client]
144CipherString = AES128-SHA256
145MaxProtocol = TLSv1.2
146VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
147VerifyMode = Peer
148
149[test-4]
150ExpectedResult = Success
151
152
153# ===========================================================
154
155[5-disable-extended-master-secret-client-sha2]
156ssl_conf = 5-disable-extended-master-secret-client-sha2-ssl
157
158[5-disable-extended-master-secret-client-sha2-ssl]
159server = 5-disable-extended-master-secret-client-sha2-server
160client = 5-disable-extended-master-secret-client-sha2-client
161
162[5-disable-extended-master-secret-client-sha2-server]
163Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
164CipherString = DEFAULT
165PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
166
167[5-disable-extended-master-secret-client-sha2-client]
168CipherString = AES128-SHA256
169MaxProtocol = TLSv1.2
170Options = -ExtendedMasterSecret
171VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
172VerifyMode = Peer
173
174[test-5]
175ExpectedResult = Success
176
177
178# ===========================================================
179
180[6-disable-extended-master-secret-both-sha2]
181ssl_conf = 6-disable-extended-master-secret-both-sha2-ssl
182
183[6-disable-extended-master-secret-both-sha2-ssl]
184server = 6-disable-extended-master-secret-both-sha2-server
185client = 6-disable-extended-master-secret-both-sha2-client
186
187[6-disable-extended-master-secret-both-sha2-server]
188Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
189CipherString = DEFAULT
190Options = -ExtendedMasterSecret
191PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
192
193[6-disable-extended-master-secret-both-sha2-client]
194CipherString = AES128-SHA256
195MaxProtocol = TLSv1.2
196Options = -ExtendedMasterSecret
197VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
198VerifyMode = Peer
199
200[test-6]
201ExpectedResult = Success
202
203
204