Log onto the Portal Server administration console as administrator.
Select the Secure Remote Access tab, and click the profile name to modify its attributes.
Select the Core tab.
Modify the following attributes:
Select the HTTP Connections checkbox to allow Gateway to accept non-SSL connections.
Enter the HTTP port number. The default value is 80.
Select the HTTPS Connections checkbox to allow Gateway to accept SSL connections. By default, this options is selected.
Enter the HTTPS port number. The default value is 443.
The following attributes can be modified using psadmin set-attribute in Sun Java System Portal Server 7.2 Command-Line Reference
/space/PS/portal/bin/psadmin set-attribute -u amadmin -f /space/PS/portal/bin/ps_password -p portal1 -m gateway --gateway-profile profileID -a sunPortalGatewayDomainsAndRulesets -A $entry
sunPortalGatewayDefaultDomainAndSubdomains=Default Domains
sunPortalGatewayLoggingEnabled=Enable Logging
sunPortalGatewayEProxyPerSessionLogging=Enable per Session Logging
sunPortalGatewayEProxyDetailedPerSessionLogging=Enable Detailed per Session Logging
sunPortalGatewayNetletLoggingEnabled=Enable Netlet Logging
sunPortalGatewayEnableMIMEGuessing=Enable MIME Guessing
sunPortalGatewayParserToURIMap=Parser to URI Mappings
sunPortalGatewayEnableObfuscation=Enable Masking
sunPortalGatewayObfuscationSecretKey=Seed String for Masking
sunPortalGatewayNotToObscureURIList=URIs not to Mask
sunPortalGatewayUseConsistentProtocolForGateway=Make
Gateway protocol Same as \n Original URI Protocol sunPortalGatewayEnableCookieManager=Store External Server Cookies
sunPortalGatewayMarkCookiesSecure=Mark Cookies as secure
Restart the Gateway from a terminal window:
./psadmin start-sra-instance -u amadmin -f passwordfile -N profilename -t gateway
|