# Inatalling Logstash codes in offline mode

**URL:** <https://discuss.elastic.co/t/inatalling-logstash-codes-in-offline-mode/46043>\
**Category:** Logstash\
**Created:** [April 1, 2016, 10:24am UTC](https://discuss.elastic.co/t/inatalling-logstash-codes-in-offline-mode/46043 "2016-04-01T10:24:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![debarun](https://avatars.discourse-cdn.com/v4/letter/d/a88e4f/32.png) [@debarun](https://discuss.elastic.co/u/debarun)\
**Post date:** [April 1, 2016, 10:24am UTC](https://discuss.elastic.co/t/inatalling-logstash-codes-in-offline-mode/46043/1 "2016-04-01T10:24:19Z")

</div>

Hi,

I am trying to install the logstash-codec-nmap, but my server has no internet access.

But when i download to a different server ans then try to install locally:

bin/plugin install /root/logstash-codec-nmap  
Validating /root/logstash-codec-nmap  
Unable to download data from [https://rubygems.org](https://rubygems.org) - certificate verify failed ([https://api.rubygems.org/latest\_specs.4.8.gz](https://api.rubygems.org/latest_specs.4.8.gz))  
ERROR: Installation aborted, verification failed for /root/logstash-codec-nmap

Then:-

bin/plugin install /root/logstash-codec-nmap-0.0.15.gem  
Validating /root/logstash-codec-nmap-0.0.15.gem  
Installing logstash-codec-nmap  
Error Bundler::Fetcher::CertificateFailureError, retrying 1/10  
Could not verify the SSL certificate for [https://rubygems.org/](https://rubygems.org/).  
There is a chance you are experiencing a man-in-the-middle attack, but most likely your system doesn't have the CA certificates needed for verification. For information about OpenSSL certificates, see [bit.ly/ruby-ssl](http://bit.ly/ruby-ssl). To connect without using SSL, edit your Gemfile sources and change 'https' to 'http'.

Any ideas?

Regards,  
Debarun.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 3, 2016, 2:12am UTC](https://discuss.elastic.co/t/inatalling-logstash-codes-in-offline-mode/46043/2 "2016-04-03T02:12:50Z")

</div>

I don't think that is the right command, see [https://www.elastic.co/guide/en/logstash/current/offline-plugins.html#\_install\_or\_update\_a\_local\_plugin](https://www.elastic.co/guide/en/logstash/current/offline-plugins.html#_install_or_update_a_local_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, 5:04am UTC](https://discuss.elastic.co/t/inatalling-logstash-codes-in-offline-mode/46043/3 "2017-07-06T05:04:13Z")

</div>


