Enabling security for the Collection Station
This topic provides instructions on enabling security for the Collection Station, as follows:
- Enable security for the Payload Service (data flow from the Collection Agent to the Collection Station). For more information, see Enabling security for the Payload Service.
- Enable security for the Configuration Channel (configuration data flow from the Collection Station to the Collection Agent). For more information, see Enabling security for the Configuration Channel.
Before you begin
- Ensure that you have generated a KeyStore and a TrustStore (in the JKS format). For more information, see Generating a KeyStore and TrustStore.
- Ensure that you have generated a self-signed certificate.
To enable security for the Payload Service
- Configure the Collection Agent and the Collection Station, as follows:
- Collection Agent:
- Navigate to the following directory, as appropriate:
- Collection Agent:
- Windows: %PATROL_HOME%\bww\udc\conf
- Linux: $PATROL_HOME/bww/udc/conf
- Perform the following actions:
- Copy the server.jks file obtained while generating the TrustStore.
Locate the flume.conf file and open it in a text editor and set the directory path to the TrustStore that you generated earlier by adding the following lines:
a1.sinks.k1.ssl = true
a1.sinks.k1.truststore = <TrustStoreLocationPath>
a1.sinks.k1.truststore-password = <TrustStorePassword>
a1.sinks.k1.truststore-type = JKS
where,
<TrustStoreLocationPath> refers to the absolute path of the TrustStore location. On Windows, this path must be specified in the UNIX-style syntax (with forward slashes). For example, %PATROL_HOME%\bww\udc\conf.
<TrustStorePassword> refers to the password that you provided while generating the TrustStore.
- Save your changes.
- Perform the following actions:
- Collection Station:
- Navigate to the following directory, as appropriate:
- Windows: %BMC_ITDA_HOME%\station\collection\custom\conf
- Linux: $BMC_ITDA_HOME/station/collection/custom/conf/
- Locate the flume.conf file and open it in a text editor.
Set the directory path to the KeyStore that you generated earlier by adding the following lines:
a1.sources.r1.ssl=true
a1.sources.r1.keystore=<KeyStoreLocationPath>
a1.sources.r1.keystore-password=<KeyStorePassword>
a1.sources.r1.keystore-type = JKS
where,
KeyStoreLocationPath refers to the absolute path of the KeyStore location. On Windows, this path must be specified in the UNIX-style syntax (with forward slashes). For example, C:/Program Files/BMC Software/TrueSight/ITDA.
KeyStorePassword refers to the password that you provided while generating the KeyStore.
- Save your changes.
- Navigate to the following directory, as appropriate:
- Re-start the Collection Agent and the Collection Station. For more information, see Starting-or-stopping-product-services.
To enable security for the Configuration Channel
- Configure the Collection Agent and the Collection Station, as follows:
- Collection Agent:
- Navigate to the following directory, as appropriate:
- Windows: %PATROL_HOME%\bww\udc\conf
- Navigate to the following directory, as appropriate:
- Collection Agent:
- Linux: $PATROL_HOME/bww/udc/conf
- Locate the agent.properties file and open it in a text editor.
- Add the property, stationprotocol=https.
- Save your changes.
- Collection Station:
- Navigate to the following directory, as appropriate:
- Windows: %BMC_ITDA_HOME%\station\collection\custom\conf\
- Linux: $BMC_ITDA_HOME/station/collection/custom/conf/
- Locate the agent.properties file and open it in a text editor.
Add the following properties:
- stationprotocol=https
- keystoreFilePath=<KeyStoreLocationPath>
- keystoreFilePassword=<KeyStorePassword>
In the preceding properties, the following values apply:
- <KeyStoreLocationPath> refers to the directory path where the KeyStore is located. On Windows, this path must be specified in the UNIX-style syntax (with forward slashes) and with a forward slash at the beginning of the path.
- <KeyStorePassword> refers to the KeyStore password that you provided while generating the KeyStore.
- Save your changes.
- Navigate to the following directory, as appropriate:
- Re-start the Collection Agent and the Collection Station. For more information, see Starting-or-stopping-product-services.