@@ -105,9 +105,9 @@ func Test_ServerConfig_Repack(t *testing.T) {
105105 yaml : `
106106 enabled: true
107107 verification_mode: certificate
108- supported_protocols: [TLSv1.1 , TLSv1.2 ]
108+ supported_protocols: [TLSv1.2 , TLSv1.3 ]
109109 cipher_suites:
110- - RSA- AES-256-CBC-SHA
110+ - ECDHE-ECDSA- AES-128-GCM-SHA256
111111 certificate_authorities:
112112 - /path/to/ca.crt
113113 certificate: /path/to/cert.cry
@@ -123,9 +123,9 @@ func Test_ServerConfig_Repack(t *testing.T) {
123123 yaml : `
124124 enabled: true
125125 verification_mode: certificate
126- supported_protocols: [TLSv1.1 , TLSv1.2 ]
126+ supported_protocols: [TLSv1.2 , TLSv1.3 ]
127127 cipher_suites:
128- - RSA- AES-256-CBC-SHA
128+ - ECDHE-ECDSA- AES-128-GCM-SHA256
129129 certificate_authorities:
130130 - /path/to/ca.crt
131131 certificate: /path/to/cert.cry
@@ -140,9 +140,9 @@ func Test_ServerConfig_Repack(t *testing.T) {
140140 yaml : `
141141 enabled: true
142142 verification_mode: certificate
143- supported_protocols: [TLSv1.1 , TLSv1.2 ]
143+ supported_protocols: [TLSv1.2 , TLSv1.3 ]
144144 cipher_suites:
145- - RSA- AES-256-CBC-SHA
145+ - ECDHE-ECDSA- AES-128-GCM-SHA256
146146 certificate: /path/to/cert.cry
147147 key: /path/to/key/crt
148148 curve_types:
@@ -185,8 +185,8 @@ func Test_ServerConfig_RepackJSON(t *testing.T) {
185185 json : `{
186186 "enabled": true,
187187 "verification_mode": "certificate",
188- "supported_protocols": ["TLSv1.1 ", "TLSv1.2 "],
189- "cipher_suites": ["RSA- AES-256-CBC-SHA "],
188+ "supported_protocols": ["TLSv1.2 ", "TLSv1.3 "],
189+ "cipher_suites": ["ECDHE-ECDSA- AES-128-GCM-SHA256 "],
190190 "certificate_authorities": ["/path/to/ca.crt"],
191191 "certificate": "/path/to/cert.crt",
192192 "key": "/path/to/key.crt",
@@ -202,8 +202,8 @@ func Test_ServerConfig_RepackJSON(t *testing.T) {
202202 json : `{
203203 "enabled": true,
204204 "verification_mode": "certificate",
205- "supported_protocols": ["TLSv1.1 ", "TLSv1.2 "],
206- "cipher_suites": ["RSA- AES-256-CBC-SHA "],
205+ "supported_protocols": ["TLSv1.2 ", "TLSv1.3 "],
206+ "cipher_suites": ["ECDHE-ECDSA- AES-128-GCM-SHA256 "],
207207 "certificate_authorities": ["/path/to/ca.crt"],
208208 "certificate": "/path/to/cert.crt",
209209 "key": "/path/to/key.crt",
@@ -218,8 +218,8 @@ func Test_ServerConfig_RepackJSON(t *testing.T) {
218218 json : `{
219219 "enabled": true,
220220 "verification_mode": "certificate",
221- "supported_protocols": ["TLSv1.1 ", "TLSv1.2 "],
222- "cipher_suites": ["RSA- AES-256-CBC-SHA "],
221+ "supported_protocols": ["TLSv1.2 ", "TLSv1.3 "],
222+ "cipher_suites": ["ECDHE-ECDSA- AES-128-GCM-SHA256 "],
223223 "certificate": "/path/to/cert.crt",
224224 "key": "/path/to/key.crt",
225225 "curve_types": "P-384",
0 commit comments