Not sure of what you downloaded. Probably the github source and not the distribution itself.
As far as I can read the Github README it seems to be available only with elasticsearch 5.4.1:
Exception in thread "main" javax.net.ssl.SSLException: SSL peer shut down incorrectly at sun.security.ssl.InputRecord.readV3Record(InputRecord.java:596) at sun.security.ssl.InputRecord.read(InputRecord.java:532) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:983) at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:940) at sun.security.ssl.AppInputStream.read(AppInputStream.java:105) at java.io.BufferedInputStream.read1(BufferedInputStream.java:284) at java.io.BufferedInputStream.read(BufferedInputStream.java:345) at sun.net.www.MeteredStream.read(MeteredStream.java:134) at java.io.FilterInputStream.read(FilterInputStream.java:133) at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3375) at java.io.FilterInputStream.read(FilterInputStream.java:133) at org.elasticsearch.plugins.ProgressInputStream.read(ProgressInputStream.java:55) at org.elasticsearch.plugins.ProgressInputStream.read(ProgressInputStream.java:62) at java.nio.file.Files.copy(Files.java:2908) at java.nio.file.Files.copy(Files.java:3027) at org.elasticsearch.plugins.InstallPluginCommand.downloadZip(InstallPluginCommand.java:284) at org.elasticsearch.plugins.InstallPluginCommand.download(InstallPluginCommand.java:257) at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:213) at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:199) at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:67) 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) Suppressed: javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: SSL peer shut down incorrectly at sun.security.ssl.SSLSocketImpl.checkEOF(SSLSocketImpl.java:1551) at sun.security.ssl.AppInputStream.available(AppInputStream.java:60) at java.io.BufferedInputStream.available(BufferedInputStream.java:410) at sun.net.www.MeteredStream.available(MeteredStream.java:170) at sun.net.www.http.KeepAliveStream.close(KeepAliveStream.java:85) at java.io.FilterInputStream.close(FilterInputStream.java:181) at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.close(HttpURLConnection.java:3448) at java.io.FilterInputStream.close(FilterInputStream.java:181) at org.elasticsearch.plugins.InstallPluginCommand.downloadZip(InstallPluginCommand.java:285) ... 9 more [CIRCULAR REFERENCE:javax.net.ssl.SSLException: SSL peer shut down incorrectly]
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.