# Ingest-geoip install SSLHandshakeException

**URL:** <https://discuss.elastic.co/t/ingest-geoip-install-sslhandshakeexception/113159>\
**Category:** Elasticsearch\
**Created:** [December 25, 2017, 5:13pm UTC](https://discuss.elastic.co/t/ingest-geoip-install-sslhandshakeexception/113159 "2017-12-25T17:13:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nofar](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@Nofar](https://discuss.elastic.co/u/Nofar)\
**Post date:** [December 25, 2017, 5:13pm UTC](https://discuss.elastic.co/t/ingest-geoip-install-sslhandshakeexception/113159/1 "2017-12-25T17:13:53Z")

</div>

I'm trying to install geoip plugin:  
$sudo bin/elasticsearch-plugin install ingest-geoip

But getting SSLHandshakeException.  
I don't know what certificate is missing.. because I don't have any problem with accessing to elasticsearsh

**The exception:**  
-\> Downloading ingest-geoip from elastic  
Exception in thread "main" javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target  
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)  
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)  
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)  
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)  
at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1926)  
at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1921)  
at java.security.AccessController.doPrivileged(Native Method)  
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1920)  
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1490)  
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)  
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)  
at org.elasticsearch.plugins.InstallPluginCommand.downloadZip(InstallPluginCommand.java:275)  
at org.elasticsearch.plugins.InstallPluginCommand.downloadZipAndChecksum(InstallPluginCommand.java:318)  
at org.elasticsearch.plugins.InstallPluginCommand.download(InstallPluginCommand.java:227)  
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:206)  
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:192)  
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:58)  
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:122)  
at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:69)  
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:122)  
at org.elasticsearch.cli.Command.main(Command.java:88)  
at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:47)  
....

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [December 25, 2017, 8:13pm UTC](https://discuss.elastic.co/t/ingest-geoip-install-sslhandshakeexception/113159/2 "2017-12-25T20:13:34Z")

</div>

Most likely a broken install of your jvm.  
If you search in this forum you'll probably see similar threads (most of) all leading to a bad jvm installation.

---

<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 22, 2018, 8:14pm UTC](https://discuss.elastic.co/t/ingest-geoip-install-sslhandshakeexception/113159/3 "2018-01-22T20:14:16Z")

</div>

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