Elastic Stak 7.2 Security

Enable Xpack-security in elasticsearch.yml

  1. Create a certificate authority for your Elasticsearch cluster.

and apply chmod 600

2. Enable TLS and specify the information required to access the node’s certificate.

You can to enable strict hostname cheking in xpack.security.transport.ssl.verification_mode