Skip to content

Commit

Permalink
support grpc tls
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyiyue1102 committed Apr 17, 2024
1 parent b02a8aa commit 1311df4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clients/config_client/config_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import (
"github.com/stretchr/testify/assert"
)

var serverConfigWithOptions = constant.NewServerConfig("mse-1885b9612-p.nacos-ans.mse.aliyuncs.com", 8848)
var serverConfigWithOptions = constant.NewServerConfig("mse-xxx-p.nacos-ans.mse.aliyuncs.com", 8848)

var clientConfigWithOptions = constant.NewClientConfig(
constant.WithTimeoutMs(10*1000),
Expand All @@ -55,7 +55,7 @@ var clientTLsConfigWithOptions = constant.NewClientConfig(
/*constant.WithTLS(constant.TLSConfig{
Enable: true,
TrustAll: false,
CaFile: "/Users/shiyiyue/Downloads/mse-nacos-ca.cer",
CaFile: "mse-nacos-ca.cer",
}),*/
)

Expand Down

0 comments on commit 1311df4

Please sign in to comment.