# Problem in Installing the Shield plugin

**URL:** <https://discuss.elastic.co/t/problem-in-installing-the-shield-plugin/55511>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [July 14, 2016, 12:07pm UTC](https://discuss.elastic.co/t/problem-in-installing-the-shield-plugin/55511 "2016-07-14T12:07:27Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![sukesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sukesh/32/10890_2.png) [@sukesh](https://discuss.elastic.co/u/sukesh)\
**Post date:** [July 14, 2016, 12:07pm UTC](https://discuss.elastic.co/t/problem-in-installing-the-shield-plugin/55511/1 "2016-07-14T12:07:27Z")

</div>

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](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

---

<div class="post-metadata">

**Author:** ![polyfractal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/polyfractal/32/48162_2.png) [@polyfractal](https://discuss.elastic.co/u/polyfractal)\
**Post date:** [July 14, 2016, 12:24pm UTC](https://discuss.elastic.co/t/problem-in-installing-the-shield-plugin/55511/2 "2016-07-14T12:24:31Z")

</div>

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](https://www.elastic.co/guide/en/shield/current/installing-shield.html#offline-install)

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

```

Note: the three slashes, easy to miss

---

<div class="post-metadata">

**Author:** ![sukesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sukesh/32/10890_2.png) [@sukesh](https://discuss.elastic.co/u/sukesh)\
**Post date:** [July 14, 2016, 12:31pm UTC](https://discuss.elastic.co/t/problem-in-installing-the-shield-plugin/55511/3 "2016-07-14T12:31:59Z")

</div>

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](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

---

<div class="post-metadata">

**Author:** ![polyfractal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/polyfractal/32/48162_2.png) [@polyfractal](https://discuss.elastic.co/u/polyfractal)\
**Post date:** [July 14, 2016, 1:02pm UTC](https://discuss.elastic.co/t/problem-in-installing-the-shield-plugin/55511/4 "2016-07-14T13:02:31Z")

</div>

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 🙂

Try this:

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

```

---

<div class="post-metadata">

**Author:** ![sukesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sukesh/32/10890_2.png) [@sukesh](https://discuss.elastic.co/u/sukesh)\
**Post date:** [July 15, 2016, 6:33am UTC](https://discuss.elastic.co/t/problem-in-installing-the-shield-plugin/55511/5 "2016-07-15T06:33:01Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![sukesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sukesh/32/10890_2.png) [@sukesh](https://discuss.elastic.co/u/sukesh)\
**Post date:** [July 15, 2016, 9:08am UTC](https://discuss.elastic.co/t/problem-in-installing-the-shield-plugin/55511/6 "2016-07-15T09:08:15Z")

</div>

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??

---

<div class="post-metadata">

**Author:** ![polyfractal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/polyfractal/32/48162_2.png) [@polyfractal](https://discuss.elastic.co/u/polyfractal)\
**Post date:** [July 15, 2016, 9:19am UTC](https://discuss.elastic.co/t/problem-in-installing-the-shield-plugin/55511/7 "2016-07-15T09:19:09Z")

</div>

You will need the 2.3.1 versions of License and Shield:

- License: [https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/license/2.3.1/license-2.3.1.zip](https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/license/2.3.1/license-2.3.1.zip)
- Shield: [https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/shield/2.3.1/shield-2.3.1.zip](https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/shield/2.3.1/shield-2.3.1.zip)

---

<div class="post-metadata">

**Author:** ![sukesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sukesh/32/10890_2.png) [@sukesh](https://discuss.elastic.co/u/sukesh)\
**Post date:** [July 15, 2016, 10:46am UTC](https://discuss.elastic.co/t/problem-in-installing-the-shield-plugin/55511/8 "2016-07-15T10:46:39Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![polyfractal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/polyfractal/32/48162_2.png) [@polyfractal](https://discuss.elastic.co/u/polyfractal)\
**Post date:** [July 15, 2016, 12:47pm UTC](https://discuss.elastic.co/t/problem-in-installing-the-shield-plugin/55511/9 "2016-07-15T12:47:21Z")

</div>

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](https://www.elastic.co/guide/en/shield/current/getting-started.html)

---

<div class="post-metadata">

**Author:** ![sukesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sukesh/32/10890_2.png) [@sukesh](https://discuss.elastic.co/u/sukesh)\
**Post date:** [July 18, 2016, 6:37am UTC](https://discuss.elastic.co/t/problem-in-installing-the-shield-plugin/55511/10 "2016-07-18T06:37:07Z")

</div>

Thank You Zachary

---

<div class="post-metadata">

**Author:** ![sukesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sukesh/32/10890_2.png) [@sukesh](https://discuss.elastic.co/u/sukesh)\
**Post date:** [July 19, 2016, 7:56am UTC](https://discuss.elastic.co/t/problem-in-installing-the-shield-plugin/55511/11 "2016-07-19T07:56:01Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:42pm UTC](https://discuss.elastic.co/t/problem-in-installing-the-shield-plugin/55511/12 "2017-07-06T13:42:49Z")

</div>


