How to set up third party https requests to Elasticsearch

Hi,

I followed both of these tutorials: Set up basic security for the Elastic Stack and Set up basic security for the Elastic Stack plus secured HTTPS traffic.

Now i want to set up the ability for a third party app (I need this for another app but for test purposes I use cUrl/Postman) to send https Requests to my single elasticsearch node.
For the App i want to send the requests from I need a client certificate and a private key in .pem format.

How do i get this certificate and how do I set up this kind of communication?

What do you mean by "need" ?

The tutorials you followed did not set up client authentication, so it will not process certificates from client.,

Do you mean:

  • You want to turn on client authentication (mTLS) so that clients are required to provide a certificate?
  • The client documentation tells you that it needs a PEM certificate & key?
  • Or you just want to make the client work with what you've configured so far? (in which case it doesn't need a client certificate)

Hi @TimV,
I misunderstood something, my third party application as you mentioned already works with what I have configured so far.
Thanks for your help!