Skip to content

Commit

Permalink
Merge pull request #607 from village-way/main
Browse files Browse the repository at this point in the history
fix: TLS transport disable IDEA、DES、3DES algorithm and use CipherSuites
  • Loading branch information
duanmengkk committed May 31, 2024
2 parents 3765be6 + ac96851 commit bb56512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/kubenest/node-agent/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func start(addr, certFile, keyFile, user, password string) {

log.Infof("Starting server on %s", addr)
tlsConfig := &tls.Config{
MinVersion: tls.VersionTLS12,
MinVersion: tls.VersionTLS13,
}
tlsConfig.Certificates = make([]tls.Certificate, 1)
tlsConfig.Certificates[0], _ = tls.LoadX509KeyPair(certFile, keyFile)
Expand Down

0 comments on commit bb56512

Please sign in to comment.