# Something went wrong when installing logstash-filter-prune, message: certificate verify failed

**URL:** <https://discuss.elastic.co/t/something-went-wrong-when-installing-logstash-filter-prune-message-certificate-verify-failed/110575>\
**Category:** Logstash\
**Created:** [December 6, 2017, 8:54pm UTC](https://discuss.elastic.co/t/something-went-wrong-when-installing-logstash-filter-prune-message-certificate-verify-failed/110575 "2017-12-06T20:54:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Samuel\_Lima1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samuel_lima1/32/101372_2.png) [@Samuel\_Lima1](https://discuss.elastic.co/u/Samuel_Lima1)\
**Post date:** [December 6, 2017, 8:54pm UTC](https://discuss.elastic.co/t/something-went-wrong-when-installing-logstash-filter-prune-message-certificate-verify-failed/110575/1 "2017-12-06T20:54:51Z")

</div>

Hi folks,

I´m trying to install a plugin with logstash-plugin as folow:

> sudo /usr/share/logstash/bin/logstash-plugin install --no-verify logstash-filter-prune  
> ERROR: Something went wrong when installing logstash-filter-prune, message: **certificate verify failed**

I googled for some solutions but didn't get it.

The link below gives some tips but I don't know if it's my case.

> [@Logstash plugins rubygems ssl errors](https://discuss.elastic.co/t/logstash-plugins-rubygems-ssl-errors/104635/2):
>
> Whoops nevermind I thought I had added our CERT fo ca-certificates I guess not (we are behind ssl intercept)

Logstash 6.0.0  
CentOS v7

After many trials I setup proxy in the /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/net/http.rb

> [Modified] line 627 of 1598 --39%-- col 43  
> else  
> http.proxy\_address = "172.16.230.100"  
> http.proxy\_port = 3128  
> http.proxy\_user = "f010...."  
> http.proxy\_pass = "\*\*\*\*\*\*"  
> end

But it only saved me from setting up proxy in environment. It didn't solve the "certificate" problem.

Tried to install plugin from local with

> /usr/share/logstash/bin/logstash-plugin install /home/portoseguro/Downloads/logstash-filter-prune-2.0.2.gem

, but no success.

Would someone help me please?

Thanks

---

<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:** [January 3, 2018, 8:55pm UTC](https://discuss.elastic.co/t/something-went-wrong-when-installing-logstash-filter-prune-message-certificate-verify-failed/110575/2 "2018-01-03T20:55:24Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
