[root@PHP plugins]# ../bin/plugin install file:/usr/share/elasticsearch/plugins/license-2.3.4.zip
-> Installing from file:/usr/share/elasticsearch/plugins/license-2.3.4.zip...
Trying file:/usr/share/elasticsearch/plugins/license-2.3.4.zip ...
Downloading ..DONE
Verifying file:/usr/share/elasticsearch/plugins/license-2.3.4.zip checksums if available ...
NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .md5 file to verify)
ERROR: Could not load plugin descriptor for existing plugin [license-2.3.4.zip]. Was the plugin built before 2.0?
Can you try to change file:///usr/share/elasticsearch/plugins/license-2.3.4.zip
. 3 slash
I kept the license-2.3.4.zip in /usr/share/elasticsearch/plugins directory.
Then mv license-2.3.4.zip /opt/ or another directory is OK.
[root@PHP bin]# ./plugin install file:/opt/shield-2.3.4.zip
-> Installing from file:/opt/shield-2.3.4.zip...
Trying file:/opt/shield-2.3.4.zip ...
Downloading .......................DONE
Verifying file:/opt/shield-2.3.4.zip checksums if available ...
NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .md5 file to verify)
Installed shield into /usr/share/elasticsearch/plugins/shield
So everything is fine.