diff --git a/internal/endpoint/kafka.go b/internal/endpoint/kafka.go index 3c2ed4d9..5df14a67 100644 --- a/internal/endpoint/kafka.go +++ b/internal/endpoint/kafka.go @@ -143,6 +143,5 @@ func newKafkaTLSConfig(CertFile, KeyFile, CACertFile string) (*tls.Config, error caCertPool.AppendCertsFromPEM(caCert) tlsConfig.RootCAs = caCertPool - tlsConfig.BuildNameToCertificate() return &tlsConfig, err }