I have a small cluster that sits on one machine which pulls data from about 5 servers. Now, I was asked to secure the connection and set up a user for when entering Kibana.
I read the latest documentation and it seems like this requires a paid subscription but some online sources says it's not anymore. Is it possible to encrypt communications and set a login user with the opensource version? If so, may I ask how? Huge thanks ahead!
Using this guide, I've created the two certificates (with password):
bin/elasticsearch-certutil ca
bin/elasticsearch-certutil cert --ca elastic-stack-ca.p12
made sure that permissions are right:
# ll /usr/share/elasticsearch/
total 576
**-rwxrwxrwx 1 root root 3451 Jul 27 19:00 elastic-certificates.p12**
**-rwxrwxrwx 1 root root 2527 Jul 27 18:57 elastic-stack-ca.p12**
(There are other files but I deleted the lines so it won't be cluttered)
And since I only have one instance of elasticsearch, I've added the following at the bottom of elasticsearch.yml:
I was able to move on and now having some trouble encrypting filebeat to logstash (It's the last step). According to the "secure filebeat to logstash" page, I need .crt and .key configured on both ends. Problem is, that so far only elastic-certificates.p12 and elastic-stack-ca.p12 as in this page.
Do I have to use these to file as if they're .crt and .key? Do I need to create additional files?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.