securing-elasticsearch.asciidoc 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. [role="xpack"]
  2. [[configuring-tls]]
  3. === Encrypting communications in {es}
  4. {security} enables you to encrypt traffic to, from, and within your {es} cluster.
  5. Connections are secured using Transport Layer Security (TLS/SSL).
  6. WARNING: Clusters that do not have encryption enabled send all data in plain text
  7. including passwords and will not be able to install a license that enables {security}.
  8. To enable encryption, you need to perform the following steps on each node in
  9. the cluster:
  10. . Verify that the `xpack.security.enabled` setting is `true`. For more
  11. information, see <<security-settings>>.
  12. . <<node-certificates, Generate a private key and X.509 certificate>>.
  13. . Configure each node to:
  14. .. Required: <<tls-transport,Enable TLS on the transport layer>>.
  15. .. Recommended: <<tls-http,Enable TLS on the HTTP layer>>.
  16. . If you are using Active Directory user authentication,
  17. <<tls-active-directory,encrypt communications between {es} and your Active Directory server>>.
  18. . If you are using LDAP user authentication,
  19. <<tls-ldap,encrypt communications between {es} and your LDAP server>>.
  20. For more information about encrypting communications across the Elastic Stack,
  21. see {xpack-ref}/encrypting-communications.html[Encrypting Communications].
  22. :edit_url: https://github.com/elastic/elasticsearch/edit/{branch}/docs/reference/security/securing-communications/node-certificates.asciidoc
  23. include::node-certificates.asciidoc[]
  24. :edit_url: https://github.com/elastic/elasticsearch/edit/{branch}/docs/reference/security/securing-communications/tls-transport.asciidoc
  25. include::tls-transport.asciidoc[]
  26. :edit_url: https://github.com/elastic/elasticsearch/edit/{branch}/docs/reference/security/securing-communications/tls-http.asciidoc
  27. include::tls-http.asciidoc[]
  28. :edit_url: https://github.com/elastic/elasticsearch/edit/{branch}/docs/reference/security/securing-communications/tls-ad.asciidoc
  29. include::tls-ad.asciidoc[]
  30. :edit_url: https://github.com/elastic/elasticsearch/edit/{branch}/docs/reference/security/securing-communications/tls-ldap.asciidoc
  31. include::tls-ldap.asciidoc[]