Re-enable resumption for TLS1.3 CT tests
[openssl.git] / test / ssl-tests / 17-renegotiate.conf
1 # Generated with generate_ssl_tests.pl
2
3 num_tests = 6
4
5 test-0 = 0-renegotiate-client-no-resume
6 test-1 = 1-renegotiate-client-resume
7 test-2 = 2-renegotiate-server-no-resume
8 test-3 = 3-renegotiate-server-resume
9 test-4 = 4-renegotiate-client-auth-require
10 test-5 = 5-renegotiate-client-auth-once
11 # ===========================================================
12
13 [0-renegotiate-client-no-resume]
14 ssl_conf = 0-renegotiate-client-no-resume-ssl
15
16 [0-renegotiate-client-no-resume-ssl]
17 server = 0-renegotiate-client-no-resume-server
18 client = 0-renegotiate-client-no-resume-client
19
20 [0-renegotiate-client-no-resume-server]
21 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
22 CipherString = DEFAULT
23 MaxProtocol = TLSv1.2
24 Options = NoResumptionOnRenegotiation
25 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
26
27 [0-renegotiate-client-no-resume-client]
28 CipherString = DEFAULT
29 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
30 VerifyMode = Peer
31
32 [test-0]
33 ExpectedResult = Success
34 HandshakeMode = RenegotiateClient
35 Method = TLS
36 ResumptionExpected = No
37
38
39 # ===========================================================
40
41 [1-renegotiate-client-resume]
42 ssl_conf = 1-renegotiate-client-resume-ssl
43
44 [1-renegotiate-client-resume-ssl]
45 server = 1-renegotiate-client-resume-server
46 client = 1-renegotiate-client-resume-client
47
48 [1-renegotiate-client-resume-server]
49 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
50 CipherString = DEFAULT
51 MaxProtocol = TLSv1.2
52 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
53
54 [1-renegotiate-client-resume-client]
55 CipherString = DEFAULT
56 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
57 VerifyMode = Peer
58
59 [test-1]
60 ExpectedResult = Success
61 HandshakeMode = RenegotiateClient
62 Method = TLS
63 ResumptionExpected = Yes
64
65
66 # ===========================================================
67
68 [2-renegotiate-server-no-resume]
69 ssl_conf = 2-renegotiate-server-no-resume-ssl
70
71 [2-renegotiate-server-no-resume-ssl]
72 server = 2-renegotiate-server-no-resume-server
73 client = 2-renegotiate-server-no-resume-client
74
75 [2-renegotiate-server-no-resume-server]
76 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
77 CipherString = DEFAULT
78 MaxProtocol = TLSv1.2
79 Options = NoResumptionOnRenegotiation
80 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
81
82 [2-renegotiate-server-no-resume-client]
83 CipherString = DEFAULT
84 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
85 VerifyMode = Peer
86
87 [test-2]
88 ExpectedResult = Success
89 HandshakeMode = RenegotiateServer
90 Method = TLS
91 ResumptionExpected = No
92
93
94 # ===========================================================
95
96 [3-renegotiate-server-resume]
97 ssl_conf = 3-renegotiate-server-resume-ssl
98
99 [3-renegotiate-server-resume-ssl]
100 server = 3-renegotiate-server-resume-server
101 client = 3-renegotiate-server-resume-client
102
103 [3-renegotiate-server-resume-server]
104 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
105 CipherString = DEFAULT
106 MaxProtocol = TLSv1.2
107 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
108
109 [3-renegotiate-server-resume-client]
110 CipherString = DEFAULT
111 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
112 VerifyMode = Peer
113
114 [test-3]
115 ExpectedResult = Success
116 HandshakeMode = RenegotiateServer
117 Method = TLS
118 ResumptionExpected = Yes
119
120
121 # ===========================================================
122
123 [4-renegotiate-client-auth-require]
124 ssl_conf = 4-renegotiate-client-auth-require-ssl
125
126 [4-renegotiate-client-auth-require-ssl]
127 server = 4-renegotiate-client-auth-require-server
128 client = 4-renegotiate-client-auth-require-client
129
130 [4-renegotiate-client-auth-require-server]
131 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
132 CipherString = DEFAULT
133 MaxProtocol = TLSv1.2
134 Options = NoResumptionOnRenegotiation
135 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
136 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
137 VerifyMode = Require
138
139 [4-renegotiate-client-auth-require-client]
140 Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
141 CipherString = DEFAULT
142 PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
143 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
144 VerifyMode = Peer
145
146 [test-4]
147 ExpectedResult = Success
148 HandshakeMode = RenegotiateServer
149 Method = TLS
150 ResumptionExpected = No
151
152
153 # ===========================================================
154
155 [5-renegotiate-client-auth-once]
156 ssl_conf = 5-renegotiate-client-auth-once-ssl
157
158 [5-renegotiate-client-auth-once-ssl]
159 server = 5-renegotiate-client-auth-once-server
160 client = 5-renegotiate-client-auth-once-client
161
162 [5-renegotiate-client-auth-once-server]
163 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
164 CipherString = DEFAULT
165 MaxProtocol = TLSv1.2
166 Options = NoResumptionOnRenegotiation
167 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
168 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
169 VerifyMode = Once
170
171 [5-renegotiate-client-auth-once-client]
172 Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
173 CipherString = DEFAULT
174 PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
175 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
176 VerifyMode = Peer
177
178 [test-5]
179 ExpectedResult = Success
180 HandshakeMode = RenegotiateServer
181 Method = TLS
182 ResumptionExpected = No
183
184