<P
Securing Elasticsearch
Elasticsearch allows encryption of communication with TLS with their X-pack module. This module is available out of the box with ES version 7.7 (shipping with Squirro 3.1.0 release).
...
Code Block |
---|
xpack.security.enabled: true |
Restart elasticsearchThen restart Elasticsearch
Code Block |
---|
systemctl restart elasticsearch |
...
After you set your password, you are required to add this parameter to squirro, you Squirro. You must edit the /etc/squirro/common.ini
file and add the following lines (under the [index] section):
Code Block |
---|
es_auth_user = elastic # or the user you selected es_auth_password = YOUR_PASSWORD |
...
Code Block |
---|
/usr/share/elasticsearch/bin/elasticsearch-setup-passwords auto -b |
Restart all squirro the Squirro services
Code Block |
---|
squirrro_restart |
importantImportant: on ES version < 7.7.1 you must first install x-pack and then the commands change as follow:
...