# Can't install any plugin in ElasticSearch 2.1

**URL:** <https://discuss.elastic.co/t/cant-install-any-plugin-in-elasticsearch-2-1/44037>\
**Category:** Elasticsearch\
**Created:** [March 10, 2016, 1:13pm UTC](https://discuss.elastic.co/t/cant-install-any-plugin-in-elasticsearch-2-1/44037 "2016-03-10T13:13:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoseTomasTocino](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/josetomastocino/32/8402_2.png) [@JoseTomasTocino](https://discuss.elastic.co/u/JoseTomasTocino)\
**Post date:** [March 10, 2016, 1:13pm UTC](https://discuss.elastic.co/t/cant-install-any-plugin-in-elasticsearch-2-1/44037/1 "2016-03-10T13:13:38Z")

</div>

I have a server (running Suse Linux Enterprise Server) and I have ElasticSearch 2.1 installed and seemingly working.

Now, I'm trying to install the head plugin but it does not work. I've tried:

```
# /usr/share/elasticsearch/bin/plugin install head --verbose
-> Installing head...
Trying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/head/2.1.0/head-2.1.0.zip ...
Failed: SocketException[java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)]; nested: NoSuchAlgorithmException[Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)]; nested: ProviderException[nextBytes() failed]; nested: IOException[Bad file descriptor]; 
ERROR: failed to download out of all possible locations..., use --verbose to get detailed information

```

I've also tried using the full path from Github:

```
# /usr/share/elasticsearch/bin/plugin install mobz/elasticsearch-head --verbose
-> Installing mobz/elasticsearch-head...
Trying https://github.com/mobz/elasticsearch-head/archive/master.zip ...
Failed: SocketException[java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)]; nested: NoSuchAlgorithmException[Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)]; nested: ProviderException[nextBytes() failed]; nested: IOException[Bad file descriptor]; 
ERROR: failed to download out of all possible locations..., use --verbose to get detailed information

```

How can I fix that? Looks like a Java-related error. I'm running OpenJDK:

```
# java -version
java version "1.7.0_95"
OpenJDK Runtime Environment (IcedTea 2.6.4) (suse-24.2-x86_64)
OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)

```

Thanks.

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [March 10, 2016, 2:48pm UTC](https://discuss.elastic.co/t/cant-install-any-plugin-in-elasticsearch-2-1/44037/2 "2016-03-10T14:48:18Z")

</div>

Your Java is broken.

Install Java security certificates.

---

<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 5, 2017, 11:09pm UTC](https://discuss.elastic.co/t/cant-install-any-plugin-in-elasticsearch-2-1/44037/3 "2017-07-05T23:09:27Z")

</div>


