Download Elasticsearch plugin behind proxy

Hi guys , i was wondering how to add proxy parameters to elasticsearch to download plugin ? i've tried following these steps but nothing happened

i'm on windows btw.

Elasticsearch 7.4.0

Thanks in advance.

Hi @haythem.

i've tried following these steps but nothing happened

  1. This is odd. Could you share the commands you use (scrub any confidential data) and the results of these commands?

  2. After running the commands, do you see any errors in the Elasticsearch logs?

Thank you.

@ropc thank you for your answer
i've added the ES_JAVA_OPTS manually
and then i executed this command

any idea whats the problem ?

Hi @haytem - We recommend that you share configuration, logs, etc. in a preformatted text format - not pictures:

If your proxy uses HTTPS, you should use the following Java settings:

  • -Dhttps.proxyHost=host_name
  • -Dhttps.proxyPort=https_port_number

You should also ensure that the certificate used by the proxy is trusted by Java.

a) Import the certificate into the Java trust store, e.g: keytool -import -alias $ALIAS -keystore $JAVA_HOME/jre/lib/security/cacerts -file $PATH_TO_PEM_FILE

b) In addition to the HTTPS proxy Java settings, add these two Java settings:


Let us know if that solves the problem.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.