I installed x-pack -
followed everything here, changing passwords, etc -
https://www.elastic.co/guide/en/x-pack/current/security-getting-started.html
Changed all the passwords to new elastic password.
Made sure correct user was owner in all folders i.e. kibana:kibana in /usr/share/kibana
And I can login with new elastic password -
curl -u elastic:newpassword http://localhost:9200
{
"name" : "qrSYXO4",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "IVS7Fb_fQ3mGxFbyqfM-NQ",
"version" : {
"number" : "5.6.3",
"build_hash" : "1a2f265",
"build_date" : "2017-10-06T20:33:39.012Z",
"build_snapshot" : false,
"lucene_version" : "6.6.1"
},
"tagline" : "You Know, for Search"
}
But I can't login to kibana with elastic and newpassword
I tried
curl -u kibana:newpassword http://localhost:5601
I've even added username password to kibana.yml
and when I checked the logs -
[2017-11-03T14:57:17,783][WARN ][o.e.x.s.a.AuthenticationService] [qrSYXO4] An error occurred while attempting to authenticate [logstash_system] against realm [reserved] - ElasticsearchSecurityException[failed to authenticate user [logstash_system]]
[2017-11-03T14:57:17,987][WARN ][o.e.x.s.a.AuthenticationService] [qrSYXO4] An error occurred while attempting to authenticate [logstash_system] against realm [reserved] - ElasticsearchSecurityException[failed to authenticate user [logstash_system]]
Anything else I can try? Thanks!