Problem in Installing the Shield plugin

security

(Sukesh) #1

i tried to install shield , i have shield as well as licence zip file
when i tried to run

plugin install licence

in command prompt it is throwing error like

-> Installing license...
Trying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugi
n/license/2.3.1/license-2.3.1.zip ...
ERROR: failed to download out of all possible locations..., use --verbose to get
detailed information

please suggest me solution


(Zachary Tong) #2

If you've already downloaded the zip files, you'll need to use the "offline installation" instructions:

https://www.elastic.co/guide/en/shield/current/installing-shield.html#offline-install

bin/plugin install file:///path/to/file/license-2.3.4.zip

Note: the three slashes, easy to miss


(Sukesh) #3

Hi Zachary,
i tried that also but this is the result
D:\elasticsearch-2.3.1\bin>plugin install license file://D:/Sheild/license-2.3.3

-> Installing license...
Trying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugi
n/license/2.3.1/license-2.3.1.zip ...
ERROR: failed to download out of all possible locations..., use --verbose to get
detailed information


(Zachary Tong) #4

Few things:

  • Since you're on windows, I think you need different slashes in your path (not positive though)
  • Don't specify the plugin name ("license") when doing an offline install
  • You have a bunch of typos in the the path :slight_smile:

Try this:

plugin install file://D:\Shield\license-2.3.3.zip

(Sukesh) #5

D:\elasticsearch-2.3.1\bin>plugin install file://D:\Shield\license-2.3.3.zip
-> Installing from file://D:/Shield/license-2.3.3.zip...
Trying file://D:/Shield/license-2.3.3.zip ...
Failed: UnknownHostException[D]
ERROR: failed to download out of all possible locations..., use --verbose to get
detailed information


(Sukesh) #6

D:\elasticsearch-2.3.1\bin>plugin install file:///D:\Sheild\license-2.3.3.zip
-> Installing from file:/D:/Sheild/license-2.3.3.zip...
Trying file:/D:/Sheild/license-2.3.3.zip ...
Downloading .DONE
Verifying file:/D:/Sheild/license-2.3.3.zip checksums if available ...
NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .
md5 file to verify)
ERROR: Plugin [license] is incompatible with Elasticsearch [2.3.1]. Was designed
for version [2.3.3]

which version of the shield plugin is compatible for elastic search 2.3.1??


(Zachary Tong) #7

You will need the 2.3.1 versions of License and Shield:


(Sukesh) #8

Thank You Very much Zachary .its installed .could you please tell me that what is the next process because i am not able to understand in that link.how to use the installed shield?


(Zachary Tong) #9

I would just start working your way through the documentation. You can start at the "Getting Started" page and go from there: https://www.elastic.co/guide/en/shield/current/getting-started.html


(Sukesh) #10

Thank You Zachary


(Sukesh) #11

HI Zachary , i installed the Shield but starting elastic search throwing error ? can you please help me in that


(system) #12