Using certificates with ElasticSearch Nest client?

I am attempting to connect to an ElasticSearch cluster using a set of certificates given to me and a username + password.

I have

  • ca-chain
  • public certificate
  • private key

I started my code out like this:

var settings = new ConnectionSettings(new Uri("http://server"))
                .DefaultIndex("people")
                .BasicAuthentication("usr", "pw");

However, I am not sure how to include my 3 certificates. Is there a simple way to include these in the ConnectionSettings?

Hi @bensalerno,

This answer from a similar post may help you get started configuring client certificates.

Steve