Managing security
During installation of the BMC Application Diagnostics Server and Agents you select the security level for communication between the components. Ensure that you select the same security level for all the components.
The following topics are presented:
Setting the security level
BMC Application Diagnostics provides the following security levels for communication between Server and Agents.
- HTTP
All communication between components is done over HTTP. - HTTPS
All communication between components is done over encrypted HTTPS and all components are authenticated to one another.
Set the security level during installation of the components. You must set the same security level for all components: Server (Portal and Collector) and Agent.
To change the Portal security level after installation
To change the Collector security level after installation
To change the Agent security level after installation
Changing the Portal address in the BMC Application Performance Management console
To perform this procedure, you must have Administrator-level access, or higher.
- In the BMC Application Performance Management Console, from the System Access tab, click Diagnostics Configuration > System Configuration.
- In the Portal Address panel, click the arrow in the upper-right corner and select Edit.
Enter the Portal connection information.
- Click Save.
Using your own certificates
By default, BMC Application Diagnostics uses pregenerated self-signed certificates for authentication. If you prefer to use your own certificates, you need to edit each of the following files to create new keystore and truststore files that point to the correct location for each component.
Changing encrypted passwords
Passwords are encrypted to improve security. Before you change a password to a different password, you must first encrypt the new password and then copy the encrypted password to the relevant location in the properties file. Use the following procedure to encrypt a password.
To encrypt a password
Windows
- Open a command prompt, and run the following command:
<InstallationDirectory>\portal\bin\passwordEncrypt.bat <NewPassword>
A message is displayed while the password is encrypted.
When encryption is complete, the encrypted password is displayed. - Copy the encrypted password and paste it in the relevant properties file.
Linux
- Run the following command:
<InstallationDirectory>/portal/bin/passwordEncrypt.sh <NewPassword>
A message is displayed while the password is encrypted.
When encryption is complete, the encrypted password is displayed. - Copy the encrypted password and paste it in the relevant properties file.
Keystore passwords are located in the following locations.
Encrypted password locations
The various components' passwords are located in the following files. Changes to any of the property files requires a restart of the component.
- Agent password:
Save the file and restart the Agent.- (Java) located in portal.connection.properties
- (.NET) located in Agent.properties
- Portal password: located in portal.properties
Save the file and restart the Portal. - Collector password: located in collector.properties
Save the file and restart the Collector. - BMC Application Performance Management Console password: located in adops_rest.properties
Save the file and restart the application server where the BMC Application Performance Management Console is installed.