Skip to content

Commit

Permalink
fixed tls
Browse files Browse the repository at this point in the history
  • Loading branch information
kofoworola committed Feb 7, 2025
1 parent 6c2c3e5 commit 31513bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gateway/cert_old_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "/"
Expand All @@ -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 = "/"
Expand Down

0 comments on commit 31513bf

Please sign in to comment.