Authentification in Kibana interface

Hi,
I use Wazuh 3.9.2 for Kibana 6.8.0 and Elasticsearch 6.8.
When I going in my Kibana interface I don't have prompt with login and password. But in kibana.yml I put : elasticsearch.username and password . But nothing.
Can you help me please ? They are other option to active for this ?
Thank You
Best Regards

The elasticsearch.username and its password are only used to allow the Kibana app to log into an Elasticsearch server with security enabled. Typically you would use the kibana user here.

When Kibana detects that the server requires authentication, it should automatically display a login screen. Please ensure that the Elasticsearch server is set up accordingly.

Hi,
I have this :

# NOTE: Elasticsearch comes with reasonable defaults for most settings.

#       Before you set out to tweak and tune the configuration, make sure you
#       understand what are you trying to accomplish and the consequences.
#
# The primary way of configuring a node is via this file. This template lists
# the most important settings you may want to configure for a production cluster.
#
# Please consult the documentation for further information on configuration options:
# https://www.elastic.co/guide/en/elasticsearch/reference/index.html
#
# ---------------------------------- Cluster -----------------------------------
#
# Use a descriptive name for your cluster:
#
#cluster.name: my-application
#
# ------------------------------------ Node ------------------------------------
#
# Use a descriptive name for the node:
#
#node.name: node-1
#
# Add custom attributes to the node:
#
#node.attr.rack: r1
#
# ----------------------------------- Paths ------------------------------------
#
# Path to directory where to store the data (separate multiple locations by comma):
#
path.data: /var/lib/elasticsearch
#
# Path to log files:
#
path.logs: /var/log/elasticsearch
#
# ----------------------------------- Memory -----------------------------------
#
# Lock the memory on startup:
#
#bootstrap.memory_lock: true
#
# Make sure that the heap size is set to about half the memory available
# on the system and that the owner of the process is allowed to use this
# limit.
#
# Elasticsearch performs poorly when the system is swapping the memory.
#
# ---------------------------------- Network -----------------------------------
#
xpack.security.enabled: true
# Set the bind address to a specific IP (IPv4 or IPv6):
#
network.host: <IP_SERVER_ELASTIC/KIBANA>
#
# Set a custom port for HTTP:
#
http.port: 9200
#

Hi,
I found something with x-pack, I would like put password so I lunch this command :
bin/x-pack/setup-passwords interactive
But the response of the command is : ERROR: Missing Command. I don't know why ...
And when I lunch ./elasticsearch-keystore add "bootstrap.password"

I have this result :

Exception in thread "main" org.apache.lucene.index.CorruptIndexException: misplaced codec footer (file extended?): remaining=17, expected=16, fp=183 (resource=BufferedChecksumIndexInput(SimpleFSIndexInput(path="/etc/elasticsearch/elasticsearch.keystore")))
        at org.apache.lucene.codecs.CodecUtil.validateFooter(CodecUtil.java:497)
        at org.apache.lucene.codecs.CodecUtil.checkFooter(CodecUtil.java:414)
        at org.elasticsearch.common.settings.KeyStoreWrapper.load(KeyStoreWrapper.java:260)
        at org.elasticsearch.common.settings.AddStringKeyStoreCommand.execute(AddStringKeyStoreCommand.java:59)
        at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
        at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
        at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:77)
        at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
        at org.elasticsearch.cli.Command.main(Command.java:90)
        at org.elasticsearch.common.settings.KeyStoreCli.main(KeyStoreCli.java:41)

Can you help me please

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