kibana-plugin hangs when installing searchguard

kibana-plugin hangs when installing searchguard

sudo bin/kibana-plugin install https://search.maven.org/remotecontent?filepath=com/floragunn/search-guard-kibana-plugin/6.1.2-10/search-guard-kibana-plugin-6.1.2-10.zip

Attempting to transfer from https://search.maven.org/remotecontent?filepath=com/floragunn/search-guard-kibana-plugin/6.1.2-10/search-guard-kibana-plugin-6.1.2-10.zip

Transferring 2926709 bytes…

Transfer complete

Retrieving metadata from plugin archive

Extracting plugin archive

Extraction complete

Optimizing and caching browser bundles…

and kibana.yml has following:
kibanaserver

kibanaserver

my elasticsearch and searchguard has ssl installed!

also tried elasticsearch.ssl.verify to false and was getting:

sudo bin/kibana-plugin install https://search.maven.org/remotecontent?filepath=com/floragunn/search-guard-kibana-plugin/6.1.2-10/search-guard-kibana-plugin-6.1.2-10.zip

Attempting to transfer from https://search.maven.org/remotecontent?filepath=com/floragunn/search-guard-kibana-plugin/6.1.2-10/search-guard-kibana-plugin-6.1.2-10.zip

Transferring 2926709 bytes…

Transfer complete

Retrieving metadata from plugin archive

Extracting plugin archive

Extraction complete

Optimizing and caching browser bundles…

Plugin installation was unsuccessful due to error ““elasticsearch.ssl.verify” setting was not applied. Check for spelling errors and ensure that expected plugins are installed and enabled.”

That’s the Kibana optimization process when installing any plugin. It’s a Kibana internal functionality which cannot be switched off. You would see the same thing when you would install X-Pack for example. So the solutions is: wait :wink:

In Kibana 6.x, it’s not

elasticsearch.ssl.verify

but

elasticsearch.ssl.verificationMode: none

Elastic has changes this configuration key.

Installation docs for KI6 are here:

e class="onebox allowlistedgeneric" data-onebox-src="https://docs.search-guard.com/latest/kibana-plugin-installation">
docs.search-guard.com

Installing the Plugin

How to install the Search Guard Kibana plugin which adds authentication, multi-tenancy and the configuration UI.

···

On Sunday, February 11, 2018 at 10:13:36 AM UTC+1, Ben Fallah wrote:

kibana-plugin hangs when installing searchguard

sudo bin/kibana-plugin install https://search.maven.org/remotecontent?filepath=com/floragunn/search-guard-kibana-plugin/6.1.2-10/search-guard-kibana-plugin-6.1.2-10.zip

Attempting to transfer from https://search.maven.org/remotecontent?filepath=com/floragunn/search-guard-kibana-plugin/6.1.2-10/search-guard-kibana-plugin-6.1.2-10.zip

Transferring 2926709 bytes…

Transfer complete

Retrieving metadata from plugin archive

Extracting plugin archive

Extraction complete

Optimizing and caching browser bundles…

and kibana.yml has following:
kibanaserver

kibanaserver

my elasticsearch and searchguard has ssl installed!

also tried elasticsearch.ssl.verify to false and was getting:

sudo bin/kibana-plugin install https://search.maven.org/remotecontent?filepath=com/floragunn/search-guard-kibana-plugin/6.1.2-10/search-guard-kibana-plugin-6.1.2-10.zip

Attempting to transfer from https://search.maven.org/remotecontent?filepath=com/floragunn/search-guard-kibana-plugin/6.1.2-10/search-guard-kibana-plugin-6.1.2-10.zip

Transferring 2926709 bytes…

Transfer complete

Retrieving metadata from plugin archive

Extracting plugin archive

Extraction complete

Optimizing and caching browser bundles…

Plugin installation was unsuccessful due to error ““elasticsearch.ssl.verify” setting was not applied. Check for spelling errors and ensure that expected plugins are installed and enabled.”

plugin install finished…Thanks again.

If I get through kibana config and gui and then logstash and all secure, then I can take a vacation, otherwise, no vacation!!! :frowning:

···

On Sunday, February 11, 2018 at 2:32:51 AM UTC-8, Jochen Kressin wrote:

That’s the Kibana optimization process when installing any plugin. It’s a Kibana internal functionality which cannot be switched off. You would see the same thing when you would install X-Pack for example. So the solutions is: wait :wink:

In Kibana 6.x, it’s not

elasticsearch.ssl.verify

but

Elastic has changes this configuration key.

Installation docs for KI6 are here:

http://docs.search-guard.com/latest/kibana-plugin-installation

On Sunday, February 11, 2018 at 10:13:36 AM UTC+1, Ben Fallah wrote:

kibana-plugin hangs when installing searchguard

sudo bin/kibana-plugin install https://search.maven.org/remotecontent?filepath=com/floragunn/search-guard-kibana-plugin/6.1.2-10/search-guard-kibana-plugin-6.1.2-10.zip

Attempting to transfer from https://search.maven.org/remotecontent?filepath=com/floragunn/search-guard-kibana-plugin/6.1.2-10/search-guard-kibana-plugin-6.1.2-10.zip

Transferring 2926709 bytes…

Transfer complete

Retrieving metadata from plugin archive

Extracting plugin archive

Extraction complete

Optimizing and caching browser bundles…

and kibana.yml has following:
kibanaserver

kibanaserver

my elasticsearch and searchguard has ssl installed!

also tried elasticsearch.ssl.verify to false and was getting:

sudo bin/kibana-plugin install https://search.maven.org/remotecontent?filepath=com/floragunn/search-guard-kibana-plugin/6.1.2-10/search-guard-kibana-plugin-6.1.2-10.zip

Attempting to transfer from https://search.maven.org/remotecontent?filepath=com/floragunn/search-guard-kibana-plugin/6.1.2-10/search-guard-kibana-plugin-6.1.2-10.zip

Transferring 2926709 bytes…

Transfer complete

Retrieving metadata from plugin archive

Extracting plugin archive

Extraction complete

Optimizing and caching browser bundles…

Plugin installation was unsuccessful due to error ““elasticsearch.ssl.verify” setting was not applied. Check for spelling errors and ensure that expected plugins are installed and enabled.”

elasticsearch.ssl.verificationMode: none