securing-elasticsearch.asciidoc 2.1 KB

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