Skip to content

Commit

Permalink
fix: TLS transport disable IDEA、DES、3DES algorithm and use CipherSuites
Browse files Browse the repository at this point in the history
Signed-off-by: wangdepeng <[email protected]>
(cherry picked from commit ac96851)
  • Loading branch information
village-way committed May 31, 2024
1 parent 162d006 commit 7a267f4
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 7a267f4

Please sign in to comment.