diff --git a/common/rpc/encryption/localStoreTlsProvider.go b/common/rpc/encryption/localStoreTlsProvider.go index 65a782fb5cd..2561132972a 100644 --- a/common/rpc/encryption/localStoreTlsProvider.go +++ b/common/rpc/encryption/localStoreTlsProvider.go @@ -157,7 +157,7 @@ func (s *localStoreTlsProvider) GetFrontendClientConfig() (*tls.Config, error) { &s.cachedFrontendClientConfig, func() (*tls.Config, error) { return newClientTLSConfig(s.workerCertProvider, client.ServerName, - s.settings.Frontend.Server.RequireClientAuth, true, !client.DisableHostVerification) + useTLS, true, !client.DisableHostVerification) }, useTLS, )