From 37e945971a3d3bf1a667f0f254f994edd236f2ea Mon Sep 17 00:00:00 2001 From: Shlee Date: Mon, 15 Jun 2026 19:05:45 +0930 Subject: [PATCH 1/3] Update elasticsearch.md --- content/en/admin/elasticsearch.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/en/admin/elasticsearch.md b/content/en/admin/elasticsearch.md index 396957458..4c1875153 100644 --- a/content/en/admin/elasticsearch.md +++ b/content/en/admin/elasticsearch.md @@ -77,6 +77,7 @@ Edit `.env.production` to add the following variables: ```bash ES_ENABLED=true +ES_VERIFY_SSL=true ES_HOST=localhost ES_PORT=9200 ES_PRESET= # single_node_cluster, small_cluster or large_cluster @@ -84,7 +85,7 @@ ES_PRESET= # single_node_cluster, small_cluster or large_cluster # ES_PASS= ``` -_Note_: If using TLS, prepend the hostname with `https://`. For example: `https://elastic.example.com`. +_Note_: If using TLS, prepend the hostname with `https://`. For example: `https://elastic.example.com`. Set ES_VERIFY_SSL to false when using self-signed certs. ### Choosing the correct preset From bdbfce30d7abe96b033dc7d723ac05e0d42602a5 Mon Sep 17 00:00:00 2001 From: Shlee Date: Mon, 15 Jun 2026 19:08:22 +0930 Subject: [PATCH 2/3] Update config.md --- content/en/admin/config.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/en/admin/config.md b/content/en/admin/config.md index 7140586f1..a29d92126 100644 --- a/content/en/admin/config.md +++ b/content/en/admin/config.md @@ -598,6 +598,10 @@ The password used to authenticate with sentinels. If set to `true`, Mastodon will use Elasticsearch for its search functions. +#### `ES_VERIFY_SSL` + +If set to `true`, Mastodon will validate the HTTP certificates offered by Elasticsearch. Set to `false` when using self-signed certifcates. Defaults to `true`. + #### `ES_PRESET` It controls the Elasticsearch indices configuration (number of shards and replica). From a5323d2f4cf6865be3995cd13b06753e6c2330f2 Mon Sep 17 00:00:00 2001 From: Shlee Date: Mon, 15 Jun 2026 19:10:08 +0930 Subject: [PATCH 3/3] Update config.md --- content/en/admin/config.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/admin/config.md b/content/en/admin/config.md index a29d92126..1a703544c 100644 --- a/content/en/admin/config.md +++ b/content/en/admin/config.md @@ -600,7 +600,7 @@ If set to `true`, Mastodon will use Elasticsearch for its search functions. #### `ES_VERIFY_SSL` -If set to `true`, Mastodon will validate the HTTP certificates offered by Elasticsearch. Set to `false` when using self-signed certifcates. Defaults to `true`. +If set to `true`, Mastodon will validate the HTTPS certificates offered by the ES_HOST. Set to `false` when using self-signed certifcates. Defaults to `true`. #### `ES_PRESET`