From b1af82ee217a776c6d0a80fd6c5cc113652c7164 Mon Sep 17 00:00:00 2001 From: yusing Date: Fri, 9 Jan 2026 00:32:50 +0800 Subject: [PATCH] fix(agent): set minimum TLS version to 1.2 in agent configuration --- agent/pkg/agent/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/agent/pkg/agent/config.go b/agent/pkg/agent/config.go index 0effb0d7..9605e844 100644 --- a/agent/pkg/agent/config.go +++ b/agent/pkg/agent/config.go @@ -133,6 +133,7 @@ func (cfg *AgentConfig) InitWithCerts(ctx context.Context, ca, crt, key []byte) Certificates: []tls.Certificate{clientCert}, RootCAs: caCertPool, ServerName: common.CertsDNSName, + MinVersion: tls.VersionTLS12, } ctx, cancel := context.WithTimeout(ctx, 5*time.Second)