Set tls using elasticsearch high level REST API

i want to set tls by using elasticsearch high level REST API.
how can do??

I refer to the site below, but I do not know how to create a keyStore.
Do I have to create a .jks file?

https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/_encrypted_communication.html

You need to provide more details.
You enable TLS by setting the scheme (protocol) to https in the 3rd argument to HttpHost.

If you wish to configure the TLS settings, then you will need to tell us exactly what you're trying to configure so that we can give you relevant advice.

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