# Authentification in Kibana interface

**URL:** <https://discuss.elastic.co/t/authentification-in-kibana-interface/191138>\
**Category:** Kibana\
**Created:** [July 18, 2019, 7:36am UTC](https://discuss.elastic.co/t/authentification-in-kibana-interface/191138 "2019-07-18T07:36:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![John33000](https://avatars.discourse-cdn.com/v4/letter/j/977dab/32.png) [@John33000](https://discuss.elastic.co/u/John33000)\
**Post date:** [July 18, 2019, 7:36am UTC](https://discuss.elastic.co/t/authentification-in-kibana-interface/191138/1 "2019-07-18T07:36:29Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Magnus\_Kessler](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnus_kessler/32/42001_2.png) [@Magnus\_Kessler](https://discuss.elastic.co/u/Magnus_Kessler)\
**Post date:** [July 18, 2019, 10:09am UTC](https://discuss.elastic.co/t/authentification-in-kibana-interface/191138/2 "2019-07-18T10:09:06Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![John33000](https://avatars.discourse-cdn.com/v4/letter/j/977dab/32.png) [@John33000](https://discuss.elastic.co/u/John33000)\
**Post date:** [July 18, 2019, 1:21pm UTC](https://discuss.elastic.co/t/authentification-in-kibana-interface/191138/3 "2019-07-18T13:21:30Z")

</div>

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
#
```

---

<div class="post-metadata">

**Author:** ![John33000](https://avatars.discourse-cdn.com/v4/letter/j/977dab/32.png) [@John33000](https://discuss.elastic.co/u/John33000)\
**Post date:** [July 19, 2019, 10:19am UTC](https://discuss.elastic.co/t/authentification-in-kibana-interface/191138/4 "2019-07-19T10:19:25Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 16, 2019, 10:19am UTC](https://discuss.elastic.co/t/authentification-in-kibana-interface/191138/5 "2019-08-16T10:19:35Z")

</div>

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