Setting up HTTPS for Elasticsearch 7.1


It looks like the basic elastic license allows encrypted communications as listed here - but the documentation says security is only available as a part of x-pack (
Is the basic license enough for just SSL support? I am not looking at RBAC or anything else.


1 Like

Yes, see the first link for what is included in a Basic license.

For clarity, the basic license is part of X-Pack.

Our product features are separated into Open Source and X-Pack.
Some of X-Pack (like TLS, Native Authentication, and RBAC) is free on a basic license, and some of X-Pack requires a paid license.


hi @Krushna_Bagde,
are you so kind to give us some details about how you configure elasticsearch.yml to manage https on elasticsearch url?
How do you create certificate chain?
thanks in advance

There is documentation here:

Are you running into a particular problem?

@TimV thanks for the link
I'm working with the 6.8 version so i read the same info about this versioning
I have errors as kibana and logstash try to connect to elasticsearch in https.

Till now i'm just configure basic authentication and it's working fine, but i don't understand how create the working certificate that i will write in these lines on elastic.yml:
( I choose pem certificates) true /home/es/config/node01.key /home/es/config/node01.crt [ "/home/es/config/ca.crt" ]

Can i use the same certificate on the three nodes elastic cluster?
Which are the correct commands to create it?
Maybe do I have to use the same certificate indicated in this elasticsearch.yml lines? true true certificate elastic-certificates.p12 elastic-certificates.p12

( I know these are for communication between nodes and this part it's working fine because i check with GET _cat/nodes )

thanks for your attention

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.