diff --git a/apps/elastic-elasticsearch/8.14.3/config/elasticsearch.yml b/apps/elastic-elasticsearch/8.14.3/config/elasticsearch.yml index f096963b..bda577f4 100644 --- a/apps/elastic-elasticsearch/8.14.3/config/elasticsearch.yml +++ b/apps/elastic-elasticsearch/8.14.3/config/elasticsearch.yml @@ -4,3 +4,28 @@ http.host: 0.0.0.0 http.cors.enabled: true http.cors.allow-origin: "*" network.host: 0.0.0.0 +#----------------------- BEGIN SECURITY AUTO CONFIGURATION ----------------------- +# +# The following settings, TLS certificates, and keys have been automatically +# generated to configure Elasticsearch security features on 23-07-2024 03:18:54 +# +# -------------------------------------------------------------------------------- + +# Enable security features +xpack.security.enabled: true + +xpack.security.enrollment.enabled: true + +# Enable encryption for HTTP API client connections, such as Kibana, Logstash, and Agents +xpack.security.http.ssl: + enabled: true + keystore.path: certs/http.p12 + +# Enable encryption and mutual authentication between cluster nodes +xpack.security.transport.ssl: + enabled: true + verification_mode: certificate + keystore.path: certs/transport.p12 + truststore.path: certs/transport.p12 + +#----------------------- END SECURITY AUTO CONFIGURATION -------------------------