The TLS certificate verification enables secure communication between the
Analyzer detail view server and the RAID Agent server (usually, the host on which the Analyzer probe server is installed) for
On-demand real time monitoring.
- Log on to the Analyzer detail view server through an SSH client (like putty) as a root user.
- Stop the crond service using the command:
- Stop the megha service using the command:
/usr/local/megha/bin/megha-jetty.sh stop
- Make a backup of the custom.properties file:
cp /usr/local/megha/conf/custom.properties /usr/local/megha/conf/custom_orig.properties
- Edit the custom.properties file.
vi /usr/local/megha/conf/custom.properties
- Add a new entry in the property file:
realtimemonitoring.verify.tls.certificate=true
-
Save the custom.properties file.
-
Navigate to the Java keystore directory. For example:
/usr/lib/jvm/java-17-amazon-corretto/lib/security
-
If the jssecacerts file does not exist, create it.
-
Import the TLS certificate into the Analyzer detail view server using the keytool
command:
keytool -importcert -alias Alias_name -keystore Truststore_file_path -storetype jks -storepass Truststore_file_password -file TLS_certificate_file_path
Note: You can define any unique alias name
for TLS certificate.
For
example:
keytool -importcert -alias aliasName -keystore jssecacerts -storetype jks -storepass changeit -file /tmp/server.crt
-
If there are multiple RAID Agent servers, repeat step 10 for each instance.
-
Make sure that the megha user has the read permission for the
jssecacerts file. If not, change the permissions as in this
example:
- Start the megha service and verify the status:
/usr/local/megha/bin/megha-jetty.sh start
/usr/local/megha/bin/megha-jetty.sh status
- Start the crond service and verify the status:
service crond start
service crond status
Note: If you upgrade the JDK in the future, make sure that the
jssecacerts file is copied in the upgraded JDK directory.
For example: If you upgrade JDK from v1.8.0 to v17, copy the jssecacerts file from/usr/java/jdk1.8.0_291-amd64/jre/lib/security to /usr/lib/jvm/java-17-amazon-corretto/lib/security.
After copying the jssecacerts file, make sure that megha user has read permission for the jssecacerts file.