CentraSite 10.11 | CentraSite Administrator’s Guide | Configuring CentraSite | Configuring Application Server Tier | Configuring a Proxy
 
Configuring a Proxy
If you use a proxy to access the Internet, add the properties below to the com.softwareag.proxy.<type>.pid.properties file located at <SoftwareAG_directory>/profiles/CTP/configuration/com.softwareag.platform.config.propsloader/.
Create a file com.softwareag.proxy.<type>.pid.properties if it does not exist. Where <type> has to be replaced by either http or https.
Configuring an HTTP Proxy
To configure an HTTP proxy, add the properties below to the com.softwareag.proxy.http.pid.properties file located at <SoftwareAG_directory>/profiles/CTP/configuration/com.softwareag.platform.config.propsloader/.

type=http
host=httpprox.3rd_level_domain.2nd_level_domain
port=proxy_port_number
nonProxyHosts=*.3rd_level_domain.2nd_level_domain
|*.domain_1.extension
|*.domain_2.extension
user=proxy_user
@secure.password=proxy_password
Configuring an HTTPS (SSL) Proxy
To configure an HTTPS proxy, add the properties below to the com.softwareag.proxy.https.pid.properties file located at <SoftwareAG_directory>/profiles/CTP/configuration/com.softwareag.platform.config.propsloader/.

type=https
host=httpsprox.3rd_level_domain.2nd_level_domain
port=proxy_port_number
nonProxyHosts=*.3rd_level_domain.2nd_level_domain
|*.domain_1.extension
|*.domain_2.extension
user=proxy_user
@secure.password=proxy_password
The table below describes the properties used to configure a proxy:
Property
Description
type
Mandatory
Specifies the type of the proxy and must be the same type as defined in the name of the configuration file. Possible values are: http, https
host
Mandatory
Specifies the address of the proxy server.
port
Mandatory
Specifies the address of the proxy server. The port's value must be a numeric value within the valid port range (1-65536).
nonProxyHosts
Specifies a pipe-separated list of host names and patterns of host names which must not be proxied through the configured proxy but accessed through a direct connection.
Note:
The nonProxyHosts setting should specify at least the name of the host on which the Software AG Runtime is running.
user
Optional
Specifies the username for the proxy server when the proxy requires authentication and is omitted when authentication is not required.
password
Optional and must be provided only when user property is provided.
Specifies the password for authenticating the user.
It is not recommended to store passwords in plain text on the disc. With the proxy configuration through the configuration files the passwords can be stored with @secure. tokens putting them in Passman.
@secure.password=proxyPass
Having @secure. in front of the property key would lead to storing the property value in Passman and replacing the value with the handle pointing to the stored location in Passman.
You may need to set the proxy settings in these cases:
*To access or import WSDL files from the internet.
*In the Software AG Runtime where CentraSite Business UI is running.
*If you embed the importer in an application, these settings also apply.