Hi.
I have an issue about installing search-guard-plugin to elasticsearch and kibana.
When I installed it, Kibana said “plugin:searchguard@6.3.2-15 X-Pack Security needs to be disabled for Search Guard to work properly. Please set ‘xpack.security.enabled’ to false in your kibana.yml” on kibana’s web page.
After I added ‘xpack.security.enabled: false’ to kibana.yml, I could not access to kibana’s web page.(denied connection)
Please let me know the solution.
[elasticsearch]
-
systemctl stop elasticsearch
-
/usr/share/elasticsearch/bin/elasticsearch-plugin install -b com.floragunn:search-guard-6:6.3.2-23.1
-
cd /usr/share/elasticsearch/plugins/search-guard-6/tools
-
sh install_demo_configuration.h
y y N
-
systemctl start elasticsearch
-
sh sgadmin_demo.sh
[kibana]
-
cd /tmp/
-
/usr/share/kibana/bin/kibana-plugin install file:///tmp/search-guard-kibana-plugin-6.3.2-15.zip
elasticsearch.url: “https://:9200”
elasticsearch.username: “kibanaserver”
elasticsearch.password: “kibanaserver”
elasticsearch.ssl.verificationMode: none
xpack.security.enabled: false
Thank you.
···
When asking questions, please provide the following information:
- Search Guard and Elasticsearch version
-
search-guard-6:6.3.2-23.1
-
elasticsearch 6.3.2
-
Installed and used enterprise modules, if any
-
JVM version and operating system version
-
OpenJDK Runtime Environment (build 1.8.0_181-b13)
-
CentOS7
- Search Guard configuration files
- I don’t modify it.
-
Elasticsearch log messages on debug level
-
Other installed Elasticsearch or Kibana plugins, if any