22[[configuring-security]]
33== Configuring security in {es}
44++++
5- <titleabbrev>Configuring Security </titleabbrev>
5+ <titleabbrev>Configuring security </titleabbrev>
66++++
77
88{security} enables you to easily secure a cluster. With {security}, you can
99password-protect your data as well as implement more advanced security measures
1010such as encrypting communications, role-based access control, IP filtering, and
11- auditing. For more information, see
12- {xpack-ref}/xpack-security.html[Securing the Elastic Stack].
11+ auditing.
1312
1413To use {security} in {es}:
1514
@@ -20,12 +19,12 @@ If you want to try all of the {xpack} features, you can start a 30-day trial. At
2019the end of the trial period, you can purchase a subscription to keep using the
2120full functionality of the {xpack} components. For more information, see
2221https://www.elastic.co/subscriptions and
23- {xpack-ref }/license-management.html[License Management ].
22+ {stack-ov }/license-management.html[License management ].
2423--
2524
2625. Verify that the `xpack.security.enabled` setting is `true` on each node in
2726your cluster. If you are using a trial license, the default value is `false`.
28- For more information, see {ref}/ security-settings.html[Security Settings in {es}] .
27+ For more information, see << security-settings>> .
2928
3029. Configure Transport Layer Security (TLS/SSL) for internode-communication.
3130+
@@ -34,20 +33,20 @@ NOTE: This requirement applies to clusters with more than one node and to
3433clusters with a single node that listens on an external interface. Single-node
3534clusters that use a loopback interface do not have this requirement. For more
3635information, see
37- {xpack-ref}/ encrypting-communications.html[Encrypting Communications] .
36+ << encrypting-communications>> .
3837
3938--
4039.. <<node-certificates,Generate node certificates for each of your {es} nodes>>.
4140
42- .. <<tls-transport, Enable TLS on each {es} node>>.
41+ .. <<tls-transport,Enable TLS on each {es} node>>.
4342
4443. If it is not already running, start {es}.
4544
4645. Set the passwords for all built-in users.
4746+
4847--
4948{security} provides
50- {stack-ov}/ built-in-users.html[ built-in users] to
49+ << built-in-users, built-in users>> to
5150help you get up and running. The +elasticsearch-setup-passwords+ command is the
5251simplest method to set the built-in users' passwords for the first time.
5352
@@ -121,7 +120,7 @@ curl -XPOST -u elastic 'localhost:9200/_xpack/security/user/johndoe' -H "Content
121120xpack.security.audit.enabled: true
122121----------------------------
123122+
124- For more information, see {xpack-ref}/ auditing.html[Auditing Security Events]
123+ For more information, see << auditing>>
125124and <<auditing-settings>>.
126125
127126.. Restart {es}.
@@ -131,28 +130,15 @@ By default, events are logged to a dedicated `elasticsearch-access.log` file in
131130easier analysis and control what events are logged.
132131--
133132
134- :edit_url: https://github.com/elastic/elasticsearch/edit/{branch}/docs/reference/security/securing-communications/securing-elasticsearch.asciidoc
135- include::{es-repo-dir}/security/securing-communications/securing-elasticsearch.asciidoc[]
136-
137- :edit_url: https://github.com/elastic/elasticsearch/edit/{branch}/docs/reference/security/securing-communications/configuring-tls-docker.asciidoc
138- include::{es-repo-dir}/security/securing-communications/configuring-tls-docker.asciidoc[]
139-
140- :edit_url: https://github.com/elastic/elasticsearch/edit/{branch}/docs/reference/security/securing-communications/enabling-cipher-suites.asciidoc
141- include::{es-repo-dir}/security/securing-communications/enabling-cipher-suites.asciidoc[]
142-
143- :edit_url: https://github.com/elastic/elasticsearch/edit/{branch}/docs/reference/security/securing-communications/separating-node-client-traffic.asciidoc
144- include::{es-repo-dir}/security/securing-communications/separating-node-client-traffic.asciidoc[]
145-
146- :edit_url:
133+ include::securing-communications/securing-elasticsearch.asciidoc[]
134+ include::securing-communications/configuring-tls-docker.asciidoc[]
135+ include::securing-communications/enabling-cipher-suites.asciidoc[]
136+ include::securing-communications/separating-node-client-traffic.asciidoc[]
147137include::authentication/configuring-active-directory-realm.asciidoc[]
148138include::authentication/configuring-file-realm.asciidoc[]
149139include::authentication/configuring-ldap-realm.asciidoc[]
150140include::authentication/configuring-native-realm.asciidoc[]
151141include::authentication/configuring-pki-realm.asciidoc[]
152142include::authentication/configuring-saml-realm.asciidoc[]
153-
154- :edit_url: https://github.com/elastic/elasticsearch/edit/{branch}/docs/reference/settings/security-settings.asciidoc
155143include::{es-repo-dir}/settings/security-settings.asciidoc[]
156-
157- :edit_url: https://github.com/elastic/elasticsearch/edit/{branch}/docs/reference/settings/audit-settings.asciidoc
158144include::{es-repo-dir}/settings/audit-settings.asciidoc[]
0 commit comments