- Set the
ProxyHostproperty to the IP address or host name of your proxy server. - Set the
ProxyPortproperty to the number of the TCP port that the proxy server uses to listen for client connections. - Optionally, to connect to certain hosts directly even when a proxy connection has been configured, set the
NonProxyHostsproperty to a list of the hosts that you want to connect to directly.
|). You can specify patterns using asterisks (*) as wildcard characters. For example:
- If the proxy server requires authentication, do the following:
- Set the
ProxyUIDproperty to your user name for accessing the server. - Set the
ProxyPWDproperty to your password for accessing the server. - To configure the connector to use the NTLM protocol, do the following:
- Set the
ProxyDomainproperty to the Windows domain name of the server. - Set the
ProxyWorkstationproperty to the Windows workstation name of the server.
- Set the
- To pre-emptively authenticate against the proxy server using basic authentication, set the
PreemptiveBasicProxyAuthproperty to1.
- Set the
- From the proxy server, export the root certificate as a
.cerfile. - On your client machine, use the Java Keytool to create a keystore containing the exported root certificate:
- In a command-line interface, type the following command, and then press ENTER :
- [JDKInstallDir] is the full path to the directory where the Java Development Kit is installed.
- [RootCertPath] is the full path and name of the root certificate file that was exported from the proxy server.
- [KeystorePath] is the full path and name of the keystore that you want to create.
- When you are prompted to provide a password, type a password for restricting access to the keystore and then press ENTER.
- When you are prompted to confirm your choices, type y and then press ENTER.
- Set the following Java system properties:
- [KeystorePath] is the full path and name of the keystore containing the exported root certificate.
- [KeystorePassword] is the password for accessing the keystore.