Hi,
I'm trying to set up native authentification feature on my local ELK 7.1 installation.
Yesterday, I asked here if it was possible to use it with a basic license and the answer was : yes since 6.8 version.
So in theory, it should be fine but in practice when I try to execute the command "elasticsearch-setup-passwords auto (or interactive)" I get this error message :
Unexpected response code [403] from calling GET http://127.0.0.1:9200/_security/_authenticate?pretty
It doesn't look like the X-Pack security feature is available on this Elasticsearch node.
Please check if you have installed a license that allows access to X-Pack Security feature.
ERROR: X-Pack Security is not available.
I tried to execute the same query : "GET /_security/_authenticate" in Kibana console and it returns this error message :
{
"error": {
"root_cause": [
{
"type": "security_exception",
"reason": "current license is non-compliant for [security]",
"license.expired.feature": "security"
}
],
"type": "security_exception",
"reason": "current license is non-compliant for [security]",
"license.expired.feature": "security"
},
"status": 403
}
I checked the state of my license with "GET/_license" :
{
"license" : {
"status" : "active",
"uid" : "fa928891-2373-49e4-8903-85fc86937ba2",
"type" : "basic",
"issue_date" : "2019-05-02T14:01:37.468Z",
"issue_date_in_millis" : 1556805697468,
"max_nodes" : 1000,
"issued_to" : "elasticsearch",
"issuer" : "elasticsearch",
"start_date_in_millis" : -1
}
}
And here's the moment I don't understand anymore : I got the confirmation that I can use the security features I want to, I got an active basic license, and yet I still get this error message :
"type": "security_exception",
"reason": "current license is non-compliant for [security]",
"license.expired.feature": "security"*
Is there a step I forgot ? Maybe the "status" : "active" line does not mean that my license hasn't expired ?
I'm sorry to bother you once again guys but I really don't get it...