Why its mandatory to set truststore_filepath on initial setup, and how to do that?

Hi,

I have just downloaded elasticsearch tar package and configured cluster.name, node.name, node.attr.environment, path.data, path.logs, network.host, http.port, discovery.seed_hosts, cluster.initial_master_nodes, gateway.recover_after_nodes and node.roles in elasticsearch.yml.

While starting up the node, I got exception mentioning that keystore_filepath is not set. Then I created a keystore using elasticsearch-keystore command and mentioned it like below;

opendistro_security.ssl.transport.keystore_filepath: ../config/elasticsearch.keystore

Again, I tried starting the node and encountered another exception truststore_filepath is not set.

Somebody pls explain how to fix this (opendistro_security.ssl.transport.truststore_filepath)?

Thanks in advance.

Hi @elasticheart,
Hope the following documentation helps.

Thanks!

Hi @sayaligaikawad thanks for your reply.

I went through the documentation, but could you tell me how to configure that? and to which file the path to be set, how to obtain the file and all?

Thanks.