Enable TLSv1.3 by default
Fix for 049b25e566
which mistakenly only
updated documentation.
This commit is contained in:
parent
0e785a0bf2
commit
639a8c7871
2 changed files with 5 additions and 2 deletions
|
@ -70,7 +70,7 @@ const (
|
||||||
|
|
||||||
// SSL enabled protocols to use
|
// SSL enabled protocols to use
|
||||||
// http://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_protocols
|
// http://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_protocols
|
||||||
sslProtocols = "TLSv1.2"
|
sslProtocols = "TLSv1.2 TLSv1.3"
|
||||||
|
|
||||||
// Disable TLS 1.3 early data
|
// Disable TLS 1.3 early data
|
||||||
// http://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_early_data
|
// http://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_early_data
|
||||||
|
|
|
@ -64,7 +64,10 @@ var _ = framework.DescribeSetting("[SSL] TLS protocols, ciphers and headers)", f
|
||||||
})
|
})
|
||||||
|
|
||||||
ginkgo.It("setting cipher suite", func() {
|
ginkgo.It("setting cipher suite", func() {
|
||||||
f.UpdateNginxConfigMapData(sslCiphers, testCiphers)
|
f.SetNginxConfigMapData(map[string]string{
|
||||||
|
sslCiphers: testCiphers,
|
||||||
|
sslProtocols: "TLSv1.2",
|
||||||
|
})
|
||||||
|
|
||||||
f.WaitForNginxConfiguration(
|
f.WaitForNginxConfiguration(
|
||||||
func(cfg string) bool {
|
func(cfg string) bool {
|
||||||
|
|
Loading…
Reference in a new issue