Custom URL or file system

A plugin can also be downloaded directly from a custom location by specifying the URL:

sudo bin/plugin install [url] 

must be a valid URL, the plugin name is determined from its descriptor.

For instance, to install a plugin from your local file system, you could run:

sudo bin/plugin install file:///path/to/plugin.zip

The plugin script will refuse to talk to an HTTPS URL with an untrusted certificate. To use a self-signed HTTPS cert, you will need to add the CA cert to a local Java truststore and pass the location to the script as follows:

sudo bin/plugin -Djavax.net.ssl.trustStore=/path/to/trustStore.jks install https://....