Secure communication configuration
You can use the following properties in trc.properties to control, how
secure communications are enforced.
The following examples consider scenarios that reflect different security requirements
that you might have about communications with the Remote Control Server:
secure.url=
| Modifiable field | secure.url |
| Field Description | Determines the base URL that is used to redirect requests when secure communications are required. |
| Possible Values | User-defined - for example HTTPS://X.X.X.X/trc,
where X.X.X.X is the IP address of your Remote Control server.
Note: This separate URL property is required because replacing HTTP
with HTTPS in the base URL does not work because the ports for each URL might be different.
|
| Value Definition | User-defined. URL and context root of application when you are using secure connections. |
enforce.secure.web.access=
| Modifiable field | enforce.secure.web.access |
| Field Description | An HTTP request that is not a call home, upload, or validation request is redirected to the secure URL. The value that is set in the secure.url property is used as a base. |
| Possible Values | True or False |
| Value Definition |
Note: When you change the value of this property, you must restart
the Remote Control server
service for the new value to take effect.
|
enforce.secure.endpoint.callhome=
| Modifiable field | enforce.secure.endpoint.callhome |
| Field Description | Determines the URL that a target uses to contact the Remote Control server. |
| Possible Values | True or False |
| Value Definition |
Note: When you change the value of this property, you must restart
the Remote Control server
service for the new value to take effect.
|
enforce.secure.endpoint.upload=
| Modifiable field | enforce.secure.endpoint.upload |
| Field Description | Determines whether the controller or target uses the secure URL to upload the recordings and audit information to the server. |
| Possible Values | True or False |
| Value Definition |
Note: When you change the value of this property, you must restart
the Remote Control server
service for the new value to take effect.
|
- Example 1: All endpoint and user communications with the server must be encrypted with SSL.
Configuration
- Set secure.url in the trc.properties file to contain the HTTPS URL.
- Set the three enforce.secure properties to true by editing the trc.properties file.
- The Target and CLI do not need to be explicitly configured to use the HTTPS URL, but doing so avoids the first redirection.
- Example 2: All user communications with the server must be encrypted with SSL. Endpoint
communications that are not callhomes must be encrypted. For example, audit and recording
uploads or validating session requests. Configuration
- Configure the HTTP URL to be used by the call homes in the urlproperty in the trc.properties file.
- Configure the HTTPS URL to be used by the users, endpoint uploads, and the API in the secure.url property.
- enforce.secure.web.access = true.
- enforce.secure.endpoint.callhome = false.
- enforce.secure.endpoint.upload = true.
- Target and CLI tools are configured with the HTTP URL.
- Example 3: All user communications with the server must be encrypted with SSL. Endpoint
communications do not need to be encrypted. Configuration
- Configure the HTTP URL to be used by the endpoints call home and uploads in the URL property in the trc.properties file.
- Configure the HTTPS URL to be used by the users and the API in the secure.url property.
- enforce.secure.web.access = true.
- enforce.secure.endpoint.callhome = false.
- enforce.secure.endpoint.upload = false.
- Target and CLI tools are configured with the HTTP URL.
- Example 4: No need for enforcement other than through the regular configuration options
(url property and ServerURL).
Configuration
- url = http://localhost/trc.
- secure.url = https://localhost/trc.
- enforce.secure.web.access = false.
- enforce.secure.endpoint.callhome = false.
- enforce.secure.endpoint.upload = false.