Getting "Plugin not found" error when installing sg-ssl plugin?

I have Elasticsearch 2.3.5 installed, and am trying to install the sg-ssl-2.3.5.15 plugin by following Installing Search Guard SSL. However I’m getting when doing either the com.* or the file:///path/sg-plugin.zip way. I do

  • cd to ES installation directory
  • Run /opt/logstash/bin/logstash-plugin install file:///tmp/sg-plugin.zip

I get

Validating file:///tmp//search-guard-ssl/2.3.5.15
Plugin file:///tmp/search-guard-ssl/2.3.5.15 does not exist
ERROR: Installation aborted, verification failed for file:///tmp/search-guard-ssl/2.3.5.15

Yeah the file is in /tmp. What am I missing/

You need to run:

/usr/share/elasticsearch/bin/plugin install -b com.floragunn/search-guard-ssl/2.3.5.15