var uris = new[]
{
new Uri("https://10.8.173.179:9200"),
};
var connectionPool = new SniffingConnectionPool(uris);
var settings = new ConnectionConfiguration(connectionPool);
settings.BasicAuthentication("elastic", "password");
var lowlevelClient = new ElasticLowLevelClient(settings);
var health = lowlevelClient.Cluster.Health<StringResponse>();
Getting below : System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.