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

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