From efad6b6c81301e8ef863b50026e9b8a22f7d673a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=8C=E6=A3=AE?= Date: Tue, 23 Jul 2024 12:20:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95=20elastic?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 萌森 --- .../8.14.3/config/elasticsearch.yml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) 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 -------------------------