浏览代码

Remove ES_PATH_CONF (#77187)

The `$ES_PATH_CONF` variable isn't set at this point when users are first starting Elasticsearch, so changing mentions to the `config/` directory for clarity.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Adam Locke 4 年之前
父节点
当前提交
6f6039877c
共有 1 个文件被更改,包括 3 次插入9 次删除
  1. 3 9
      x-pack/docs/en/security/configuring-stack-security.asciidoc

+ 3 - 9
x-pack/docs/en/security/configuring-stack-security.asciidoc

@@ -26,7 +26,7 @@ the {es} package distribution:
 ----
 ----
 +
 +
 The `elasticsearch-security-config` tool generates the following security
 The `elasticsearch-security-config` tool generates the following security
-certificates and keys in `$ES_PATH_CONF/auto_config_on_<timestamp>`:
+certificates and keys in `config/auto_config_on_<timestamp>`:
 +
 +
 --
 --
 `http_ca.crt`::
 `http_ca.crt`::
@@ -39,12 +39,6 @@ Keystore that contains the key and certificate for the HTTP layer for this node.
 `transport_keystore_all_nodes.p12`::
 `transport_keystore_all_nodes.p12`::
 Keystore that contains the key and certificate for the transport layer for all the nodes in your cluster.
 Keystore that contains the key and certificate for the transport layer for all the nodes in your cluster.
 --
 --
-+
-NOTE: The `ES_PATH_CONF` variable is the path for the {es}
-configuration files. If you installed {es} using archive distributions
-(`zip` or `tar.gz`), the variable defaults to `ES_HOME/config`. If you used
-package distributions (Debian or RPM), the variable defaults to
-`/etc/elasticsearch`.
 
 
 . Start {es}.
 . Start {es}.
 +
 +
@@ -84,7 +78,7 @@ the `elastic` user when prompted:
 +
 +
 [source,shell]
 [source,shell]
 ----
 ----
-curl --cacert $ES_PATH_CONF/auto_config_on_<timestamp>/http_ca.crt \
+curl --cacert config/auto_config_on_<timestamp>/http_ca.crt \
 -u elastic https://localhost:9200
 -u elastic https://localhost:9200
 ----
 ----
 // NOTCONSOLE
 // NOTCONSOLE
@@ -158,7 +152,7 @@ When prompted, enter the password for the `kibana_system` user.
 === Encrypt traffic between {kib} and {es}
 === Encrypt traffic between {kib} and {es}
 
 
 When you ran the `elasticsearch-security-config` tool, it
 When you ran the `elasticsearch-security-config` tool, it
-created an `http_ca.crt` file in `$ES_PATH_CONF/auto_config_on_<timestamp>`.
+created an `http_ca.crt` file in `config/auto_config_on_<timestamp>`.
 Use this file to configure {kib} to trust the {es} CA for the HTTP layer.
 Use this file to configure {kib} to trust the {es} CA for the HTTP layer.
 
 
 1. Copy the `http_ca.crt` file to the {kib} configuration directory, as defined
 1. Copy the `http_ca.crt` file to the {kib} configuration directory, as defined