-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors with Apache basic auth in front of Elasticsearch and Kibana #10252
Comments
Something I noticed was that an https connection to Elasticsearch from Kibana will not succeed unless the
One would think that you shouldn't have to type out the port number.
|
What is the purpose of these variables? I can't find a use for them in the Kibana codebase other than documentation. How are they consumed and sent to elasticsearch?
From the master branch checked out on github
From the latest available kibana-5.2.0-linux-x86_64 file
|
If I configure the same username and password for kibana basic auth as I do for the elasticsearch basic auth, I can successfully see the kibana dashboard. Before the index creation page shows up, I have to basic auth a 2nd time. |
Kibana doesn't have it's own security model, it just proxies the security of the underlying Elasticsearch queries, which is why you're getting a basic auth prompt that requires the Elasticsearch credentials. The expectation is that Elasticsearch is the source of truth for securing requests, and Kibana passes on those requirements to the user. The |
Kibana version: 5.2.0-1.x86_64
Elasticsearch version: 5.2.0-1.noarch
Server OS version: CentOS 7
Browser version: Firefox 51.0.1
Browser OS version: Ubuntu 16.10
Original install method (e.g. download page, yum, from source, etc.): yum
Description of the problem including expected versus actual behavior:
I believe I am running into a similar issue that #3302 had.
My setup is as follows http://imgur.com/HMBOTux. There is basic auth for both kibana and the elasticsearch boxes.
When I navigate to kibana.mycompany.com I am greeted with a basic auth popup. The elasticsearch credentials are required multiple times to authenticate into kibana, not the kibana basic auth credentials. Right away this is very odd and wrong. I have verified that the correct credentials are deployed to the correct servers. I have disabled basic auth on kibana and am still presented with the elasticsearch basic auth popup.
When I disabled basic auth on the apache instances fronting kibana and elasticsearch, everything works.
Here are my configurations
/etc/kibana/kibana.yml
kibana vhost
elasticsearch vhost(s)
Steps to reproduce:
Errors in browser console (if relevant):
/var/log/kibana/kibana.log
/var/log/elasticsearch/elasticsearch.log
The text was updated successfully, but these errors were encountered: