Enabling or disabling hostname validation

Last Updated : Oct 11, 2021 |

About this task

Hostname validation is performed when establishing an SSL connection between Usage Metering and other applications, such as CMS, to validate the hostname of the server where the application is hosted.

When hostname validation is enabled, the hostname of the application server configured in Usage Metering must match the hostname present in the Subject Alternative Name (SAN) or Common Name (CN) field of the certificate installed in Usage Metering for authenticating with the application server. Otherwise, the SSL connection fails.

By default, hostname validation is enabled in Usage Metering.

You can also disable hostname validation in Usage Metering to allow SSL connection without performing hostname validation.

Before you begin

Back up the um.properties file before performing this procedure. In case the um.properties file becomes corrupted, you can replace the corrupted file with the backup file.

Procedure

  1. At the Usage Metering Collector server CLI command prompt, run the following command to edit the um.properties file:

    vi /opt/Avaya/usage-metering/um.properties

  2. To disable hostname validation, in the um.properties file, set the ssl.hostname.validation parameter to false.
  3. To enable hostname validation, set the ssl.hostname.validation parameter to true.