Enable Auto-Redirect to HTTPS
You can enable the automatic redirect to HTTPS.
About this task
Support was added to allow for an automatic redirect to HTTPS to be configured for the web applications that are deployed on a secure port (HTTP Server Adapter or base SSL port) and skipped on the base port. This is an optional, but strongly recommended, configuration.
Note: All
custom properties for your environment should be set in the customer_overrides.properties
file so that they are not overwritten during an upgrade or patch installation.
To enable the automatic redirect to HTTPS:
Procedure
Example Implementation
Example implementation in customer_overrides.properties file:
## Identifies wars for auto-redirect to the https port. Use comma-separated
## list to specify multiple wars
noapp.HTTPS_REDIRECT_WARS=admin,dashboard,gbm,communitymanagement,myaft,portlets
## Identifies the https port for the redirected wars. If specified, this
## should match the WEBAPP_LIST_PORT in sandbox.cfg
noapp.HTTPS_LIST_PORT=<http_server_adapter_port or base_ssl_port>
Note: If using a secure HTTP Server adapter instance, the
configuration mandates that all wars specified as HTTPS_REDIRECT_WARS
must be deployed on the same HTTP Server adapter instance.