Configuring a generic proxy server for HTTP or HTTPS
You can configure a generic proxy for HTTP(S) if it is configured to use the SOCKS protocol.
Procedure
- Consult the documentation for your proxy server to see if it supports the SOCKS protocol.
- If your proxy server supports the SOCKS protocol, configure the proxy server to use the SOCKS protocol.
- Configure the Java Virtual Machine startup parameters to include the proxy host and port by setting the following JVM parameters in the registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Tridion\Content Delivery\Tridion Content Distributor Transport Service:- Set the
jvmarg1parameter to the value-DsocksProxyHost=my.proxy.hostnamewheremy.proxy.hostnameis the host name or IP address of the machine running the proxy server you want to use. - Set the
jvmarg2parameter to the value-DsocksProxyPort=1081where1081is the port number of the proxy server. If you do not set this value, the port number defaults to 1080.
- Set the
- You can also configure SOCKS user authentication by setting the following Java user preferences for the user running the Transport Service:
java.net.socks.usernamejava.net.socks.password
Refer to Java documentation for details on how to set these preferences.
- Stop and restart the Tridion Content Distributor Transport Service.