# Cannot install shield plugin in elasticsearch

**URL:** <https://discuss.elastic.co/t/cannot-install-shield-plugin-in-elasticsearch/62052>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [October 3, 2016, 11:13am UTC](https://discuss.elastic.co/t/cannot-install-shield-plugin-in-elasticsearch/62052 "2016-10-03T11:13:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ANU\_SARA\_VARGHESE](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anu_sara_varghese/32/51487_2.png) [@ANU\_SARA\_VARGHESE](https://discuss.elastic.co/u/ANU_SARA_VARGHESE)\
**Post date:** [October 3, 2016, 11:13am UTC](https://discuss.elastic.co/t/cannot-install-shield-plugin-in-elasticsearch/62052/1 "2016-10-03T11:13:03Z")

</div>

Hi,

I am trying to install shield 2.4.0 plugin in elasticsearch. But I am receiving the following error

root@ip-x-x-x-x:/usr/share/elasticsearch/bin# ./plugin install shield  
-\> Installing shield...  
Trying [https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/shield/2.4.0/shield-2.4.0.zip](https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/shield/2.4.0/shield-2.4.0.zip) ...  
ERROR: failed to download out of all possible locations..., use --verbose to get detailed information

I even tried to manually install the plugin but still my getting the following error

root@ip-x-x-x-x:/usr/share/elasticsearch/bin# ./plugin install file:/usr/share/elasticsearch/shield-2.4.0.zip  
-\> Installing from file:/usr/share/elasticsearch/shield-2.4.0.zip...  
Trying file:/usr/share/elasticsearch/shield-2.4.0.zip ...  
Downloading .......................DONE  
Verifying file:/usr/share/elasticsearch/shield-2.4.0.zip checksums if available ...  
NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .md5 file to verify)  
ERROR: Could not load plugin descriptor for existing plugin [automaton-1.11-8.jar]. Was the plugin built before 2.0?

---

<div class="post-metadata">

**Author:** ![jaymode](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaymode/32/50103_2.png) [@jaymode](https://discuss.elastic.co/u/jaymode)\
**Post date:** [October 3, 2016, 1:30pm UTC](https://discuss.elastic.co/t/cannot-install-shield-plugin-in-elasticsearch/62052/2 "2016-10-03T13:30:22Z")

</div>

It looks like you may have extra jar files in your plugin directory. Can you list the files in that directory?

---

<div class="post-metadata">

**Author:** ![ANU\_SARA\_VARGHESE](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anu_sara_varghese/32/51487_2.png) [@ANU\_SARA\_VARGHESE](https://discuss.elastic.co/u/ANU_SARA_VARGHESE)\
**Post date:** [October 3, 2016, 6:30pm UTC](https://discuss.elastic.co/t/cannot-install-shield-plugin-in-elasticsearch/62052/3 "2016-10-03T18:30:35Z")

</div>

Hi Jay,

Other than automaton-1.11-8.jar , there is another jar file shield-2.4.0.jar

---

<div class="post-metadata">

**Author:** ![ANU\_SARA\_VARGHESE](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anu_sara_varghese/32/51487_2.png) [@ANU\_SARA\_VARGHESE](https://discuss.elastic.co/u/ANU_SARA_VARGHESE)\
**Post date:** [October 4, 2016, 6:49am UTC](https://discuss.elastic.co/t/cannot-install-shield-plugin-in-elasticsearch/62052/4 "2016-10-04T06:49:47Z")

</div>

Hi,

This is the output of ./plugin list

Installed plugins in /usr/share/elasticsearch/plugins:  
- automaton-1.11-8.jar  
- unboundid-ldapsdk-2.3.8.jar  
- shield-2.4.0.jar  
- bin  
- plugin-security.policy  
- LICENSE.txt  
- NOTICE.txt  
- config  
- plugin-descriptor.properties

---

<div class="post-metadata">

**Author:** ![jaymode](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaymode/32/50103_2.png) [@jaymode](https://discuss.elastic.co/u/jaymode)\
**Post date:** [October 4, 2016, 10:08am UTC](https://discuss.elastic.co/t/cannot-install-shield-plugin-in-elasticsearch/62052/5 "2016-10-04T10:08:21Z")

</div>

Did you try to just unzip the plugin in that directory or something? I suggest cleaning out the plugins directory and using the installer to install the plugin.

---

<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:41pm UTC](https://discuss.elastic.co/t/cannot-install-shield-plugin-in-elasticsearch/62052/6 "2017-07-06T13:41:43Z")

</div>


