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 VMware Aria Operations for Logs virtual appliance.
  • If you plan to connect to the VMware Aria Operations for Logs virtual appliance by using SSH, verify that TCP port 22 is open.

Procedure

  1. Establish an SSH connection to the VMware Aria Operations for Logs vApp and log in as the root user.
  2. Copy the SSL certificate for the SMTP server to the VMware Aria Operations for Logs 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 -storepass store_pass`
    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. Replace the password store_pass with the default password changeit.
  5. Run the service loginsight restart command.

What to do next

Navigate to Configuration > SMTP and use Send Test Email to test your settings. See Configure the SMTP Server for VMware Aria Operations for Logs