Unable to login Kibana

When asking questions, please provide the following information:

  • Search Guard and Elasticsearch version

6.2.4-22.3 . and 6.2.4

  • JVM version and operating system version

1.8 and Ubuntu 16.04

I’ve followed https://sematext.com/blog/elasticsearch-kibana-security-search-guard/ this document to set up Search guard.

https://localhost:9200/_searchguard/authinfo

{“user”: “User [name=admin, roles=[admin], requestedTenant=null]”,“user_name”: “admin”,“user_requested_tenant”: null,“remote_address”: “103.51.153.82:53266”,“backend_roles”: [“admin”],“custom_attribute_names”: [“attr.internal.attribute1”,“attr.internal.attribute2”,“attr.internal.attribute3”],“sg_roles”: [“sg_all_access”,“sg_own_index”],“sg_tenants”: {“admin_tenant”: true,“admin”: true},“principal”: null,“peer_certificates”: “0”}

Everything looks good from Elasticsearch side. I can access ES by https. In Kibana, I’ve configured below properties as mentioned in blog.

elasticsearch.url: “https://locahost:9200

elasticsearch.ssl.verificationMode: none

But I’m not able to log in Kibana. It shows The Search Guard license information could not be loaded. Please contact your system administrator. Please help me here to fix it. My configuration is same as the mentioned blog.

This usually indicates that Kibana cannot reach Elasticsearch or there is some problem with the Kibana server user. You should see log statements regarding this in the Kibana logs as well. What do you see there?

Also, please post the complete kibana.yml you are using.

···

On Wednesday, July 4, 2018 at 12:13:51 PM UTC+2, Ravi Sharma wrote:

When asking questions, please provide the following information:

  • Search Guard and Elasticsearch version

6.2.4-22.3 . and 6.2.4

  • JVM version and operating system version

1.8 and Ubuntu 16.04

I’ve followed https://sematext.com/blog/elasticsearch-kibana-security-search-guard/ this document to set up Search guard.

https://localhost:9200/_searchguard/authinfo

{“user”: “User [name=admin, roles=[admin], requestedTenant=null]”,“user_name”: “admin”,“user_requested_tenant”: null,“remote_address”: “103.51.153.82:53266”,“backend_roles”: [“admin”],“custom_attribute_names”: [“attr.internal.attribute1”,“attr.internal.attribute2”,“attr.internal.attribute3”],“sg_roles”: [“sg_all_access”,“sg_own_index”],“sg_tenants”: {“admin_tenant”: true,“admin”: true},“principal”: null,“peer_certificates”: “0”}

Everything looks good from Elasticsearch side. I can access ES by https. In Kibana, I’ve configured below properties as mentioned in blog.

elasticsearch.url: “https://locahost:9200

elasticsearch.ssl.verificationMode: none

But I’m not able to log in Kibana. It shows The Search Guard license information could not be loaded. Please contact your system administrator. Please help me here to fix it. My configuration is same as the mentioned blog.

If you re using secure HTTPS check the setting is ‘https’
elasticsearch.url: “https://hostname.local:9200

···

On Wednesday, 4 July 2018 11:13:51 UTC+1, Ravi Sharma wrote:

When asking questions, please provide the following information:

  • Search Guard and Elasticsearch version

6.2.4-22.3 . and 6.2.4

  • JVM version and operating system version

1.8 and Ubuntu 16.04

I’ve followed https://sematext.com/blog/elasticsearch-kibana-security-search-guard/ this document to set up Search guard.

https://localhost:9200/_searchguard/authinfo

{“user”: “User [name=admin, roles=[admin], requestedTenant=null]”,“user_name”: “admin”,“user_requested_tenant”: null,“remote_address”: “103.51.153.82:53266”,“backend_roles”: [“admin”],“custom_attribute_names”: [“attr.internal.attribute1”,“attr.internal.attribute2”,“attr.internal.attribute3”],“sg_roles”: [“sg_all_access”,“sg_own_index”],“sg_tenants”: {“admin_tenant”: true,“admin”: true},“principal”: null,“peer_certificates”: “0”}

Everything looks good from Elasticsearch side. I can access ES by https. In Kibana, I’ve configured below properties as mentioned in blog.

elasticsearch.url: “https://locahost:9200

elasticsearch.ssl.verificationMode: none

But I’m not able to log in Kibana. It shows The Search Guard license information could not be loaded. Please contact your system administrator. Please help me here to fix it. My configuration is same as the mentioned blog.