When you configure the SMTP server with the STARTTLS option activated, test emails fail. Add your SSL certificate for the SMTP server to the Java truststore to resolve the problem.

Prerequisites

  • Verify that you have the root user credentials to log in to the vRealize Log Insight virtual appliance.
  • If you plan to connect to the vRealize Log Insight virtual appliance by using SSH, verify that TCP port 22 is open.

Procedure

  1. Establish an SSH connection to the vRealize Log Insight vApp and log in as the root user.
  2. Copy the SSL certificate for the SMTP server to the vRealize Log Insight vApp.
  3. Run the following command.
    `/usr/java/jre-vmware/bin/keytool -import -alias certificate_name -file path_to_certificate -keystore /usr/java/jre-vmware/lib/security/cacerts`
    Note: The outer quotes are inserted by using the back quote symbol that is on the same key as tilde on your keyboard. Do not use single quotes.
  4. Enter the default the password changeit.
  5. Run the service loginsight restart command.

What to do next

Navigate to Administration > SMTP and use Send Test Email to test your settings. See Configure the SMTP Server for vRealize Log Insight