Using NEST with https and TLS 1.2?

I dont see any sample of using NEST with https. How can I encrypt data using NEST if i use https instead of http like this i get error:

var node = new Uri("https://myserver:9200");
var settings = new ConnectionSettings(node);
var client = new ElasticClient(settings);

What error do you get? Can you provide

  • A stack trace
  • The DebugInformation from a response (also set .DisableDirectStreaming() on ConnectionSettings to gather more information).

Are you using a self-signed certificate or a certificate issued by a CA?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.