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- plugin by following Installing Search Guard SSL. However I’m getting when doing either the com.* or the file:///path/ way. I do

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

I get

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

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/