Before you begin
You must configure the proxy settings before starting this procedure
and pairing the Remote Engine.
In Remote Engine versions 2.8.2 or below, if you need to change the
proxy settings after pairing the Remote Engine, you must unpair and re-install it
before starting this procedure.
From Remote Engine version 2.8.3, you only need to stop the engine
before configuring the proxy settings, then start it again.
Procedure
-
Access the Remote Engine installation folder.
-
Add the HTTP or HTTPS proxy values to the <RemoteEngineInstallationDirectory>\etc\system.properties
file.
Example
http.proxyHost=<proxyHost>
http.proxyPort=<proxyPort>
http.nonProxyHosts=127.0.0.1|localhost
https.proxyHost=<proxyHost>
https.proxyPort=<proxyPort>
https.nonProxyHosts=127.0.0.1|localhost
-
To connect to ActiveMQ, define the amq.proxy parameter in the <RemoteEngineInstallationDirectory>\etc\org.talend.ipaas.rt.pairing.agent.cfg
file.
-
HTTP
amq.proxy=http
-
HTTPS
amq.proxy=https
Note: This
step only necessary if your Remote Engine version is higher than 2.1 and
lower than 2.8.3.
The proxy configuration parameter values are called from the
<RemoteEngineInstallationDirectory>\etc\system.properties
file.
-
Add the HTTP or HTTPS proxy authentication parameters and
values to the <RemoteEngineInstallationDirectory>\etc\system.properties
file.
http.proxyUser=<proxyUser>
http.proxyPassword=<proxyPassword>
https.proxyUser=<proxyUser>
https.proxyPassword=<proxyPassword>
-
For Java 8 Update 111 or a higher version, add the following
parameter to the same file:
jdk.http.auth.tunneling.disabledSchemes=
No value has to be specified.
-
Create a new configuration file named org.apache.cxf.http.conduits-common.cfg in the same
directory.
-
Add the following content to the file:
url=https://.*
proxyAuthorization.UserName=<proxyUser>
proxyAuthorization.Password=<proxyPassword>
-
Save your changes.
-
Start your Remote Engine.
-
Re-pair your Remote Engine.