| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 | [role="xpack"][[configuring-tls]]=== Encrypting communications in {es}{stack} {security-features} enable you to encrypt traffic to, from, and withinyour {es} cluster. Connections are secured using Transport Layer Security(TLS/SSL).WARNING: Clusters that do not have encryption enabled send all data in plain textincluding passwords. If the {es} {security-features} are enabled, unless youhave a trial license, you must configure SSL/TLS for internode-communication.To enable encryption, you need to perform the following steps on each node inthe cluster:. Verify that the `xpack.security.enabled` setting is `true`. For moreinformation, see <<security-settings>>. . <<node-certificates, Generate a private key and X.509 certificate>>.. Configure each node to:.. Required: <<tls-transport,Enable TLS on the transport layer>>... Recommended: <<tls-http,Enable TLS on the HTTP layer>>.. If you are using Active Directory user authentication, <<tls-active-directory,encrypt communications between {es} and your Active Directory server>>. . If you are using LDAP user authentication, <<tls-ldap,encrypt communications between {es} and your LDAP server>>. For more information about encrypting communications across the Elastic Stack,see {stack-ov}/encrypting-communications.html[Encrypting Communications].:edit_url: https://github.com/elastic/elasticsearch/edit/{branch}/docs/reference/security/securing-communications/node-certificates.asciidocinclude::node-certificates.asciidoc[]:edit_url: https://github.com/elastic/elasticsearch/edit/{branch}/docs/reference/security/securing-communications/tls-transport.asciidocinclude::tls-transport.asciidoc[]:edit_url: https://github.com/elastic/elasticsearch/edit/{branch}/docs/reference/security/securing-communications/tls-http.asciidocinclude::tls-http.asciidoc[]:edit_url: https://github.com/elastic/elasticsearch/edit/{branch}/docs/reference/security/securing-communications/tls-ad.asciidocinclude::tls-ad.asciidoc[]:edit_url: https://github.com/elastic/elasticsearch/edit/{branch}/docs/reference/security/securing-communications/tls-ldap.asciidocinclude::tls-ldap.asciidoc[]
 |