From 31513bf85ae09895b1a7b2c81afdb3107edbbc08 Mon Sep 17 00:00:00 2001 From: Kofo Okesola Date: Fri, 7 Feb 2025 10:35:07 +0100 Subject: [PATCH] fixed tls --- gateway/cert_old_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gateway/cert_old_test.go b/gateway/cert_old_test.go index 927efa27a9c..6b9b23320c4 100644 --- a/gateway/cert_old_test.go +++ b/gateway/cert_old_test.go @@ -285,7 +285,7 @@ func TestProxyTransport(t *testing.T) { // force creating new transport on each reque globalConf.MaxConnTime = -1 - globalConf.ProxySSLCipherSuites = []string{"TLS_RSA_WITH_AES_128_CBC_SHA"} + globalConf.ProxySSLCipherSuites = []string{"TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA"} ts.Gw.SetConfig(globalConf) ts.Gw.BuildAndLoadAPI(func(spec *APISpec) { spec.Proxy.ListenPath = "/" @@ -300,7 +300,7 @@ func TestProxyTransport(t *testing.T) { // force creating new transport on each reque globalConf.MaxConnTime = -1 - globalConf.ProxySSLCipherSuites = []string{"TLS_RSA_WITH_RC4_128_SHA"} + globalConf.ProxySSLCipherSuites = []string{"TLS_AES_256_GCM_SHA384"} ts.Gw.SetConfig(globalConf) ts.Gw.BuildAndLoadAPI(func(spec *APISpec) { spec.Proxy.ListenPath = "/"