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.
Note
After any manual configuration, you must restart the BMC Application Diagnostics component.
The following topics are presented:
Setting the security level
BMC Application Diagnostics provides the following security levels for communication between server and agents.
- Not secured
All communication between components is done over HTTP. - Encrypted authenticated
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
Click to see steps
- On the computer with the portal installation, navigate to the portal.properties file, located in the following directory:
- (Windows) <InstallationDirectory>\portal\properties
- (Linux) <InstallationDirectory>/portal/properties
- Open the file and set the connection.security.level property to one of the following options:
- not_secured
- encrypted_authenticated
connection.security.level=encrypted_authenticated
- Restart the portal.
To change the collector security level after installation
Click to see steps
- On the computer with the collector installation, navigate to the collector.properties file, located in the following directory:
- (Windows) <InstallationDirectory>\collector\properties
- (Linux) <InstallationDirectory>/collector/properties
- Open the file and set the portal.connection.protocol property to one of the following options:
- If the portal security level is not_secured, set to http
- If the portal security level is encrypted_authenticated, set to https
portal.connection.protocol=https
- Set the portal.connection.port property to one of the following options:
- If the portal security level is not_secured, set to match the port used for portal HTTP
- If the portal security level is encrypted_authenticated, set to match the port used for portal HTTPS
portal.connection.port=8243
- Restart the collector.
To change the agent security level after installation
Click to see steps
- On the computer with the agent installation, navigate to the appropriate file:
The macro unmigrated-inline-wiki-markup from Confluence is no longer available.
Agent for Java EE- (Windows) <InstallationDirectory>\properties\portal.connection.properties
- (Linux) <InstallationDirectory>/properties/portal.connection.properties
The macro unmigrated-inline-wiki-markup from Confluence is no longer available.
Agent for .NET- (Windows, only) <InstallationDirectory>\properties\agent.properties
- Open the file and set the portal.connection.protocol property to one of the following options:
- If the portal security level is not_secured, set to http
- If the portal security level is encrypted_authenticated, set to https
portal.connection.protocol=https
- Set the portal.connection.port property to one of the following options:
- If the portal security level is not_secured, set to match the portal HTTP port
- If the portal security level is encrypted_authenticated, set to match the portal HTTPS port
portal.connection.port=8243
- Restart the agent.
The macro unmigrated-inline-wiki-markup from Confluence is no longer available.
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.
Security files for the BMC Application Diagnostics Portal
Security files for the BMC Application Diagnostics Collector
Security files for the BMC Application Diagnostics Agent for Java
Security files for the BMC Application Diagnostics Agent for .NET
|
---|
| |
---|
configuration file location | <InstallationDirectory>\properties |
---|
Relevant configuration options | key.store.file.name=<KeystoreFileName>.p12 trust.store.file.name=<TruststoreFileName>.cer key.store.password.enc=<encrypted_password> |
---|
Notes
- If the paths to the certificate files (<KeystoreFileName>.p12 and/or <TruststoreFileName>.cer) are relative, they are treated as relative to the <InstallationDirectory>\properties directory.
- <KeystoreFileName>.p12 file should be in X.509/PKCS #12 format.
- <TruststoreFileName>.cer file should be in X.509/PKCS #7 format.
Security files for the BMC Application Performance Management Console
Refer to the Java Keytool documentation on the Oracle website.
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 EE) 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.