When attempting to send an email, such as a report, from the Enforce server through an SMTP server that requires TLS it fails with the "Unable to send to the following addresses" error message:
The localhost log may report the below, or similar error/s:
19 Dec 2025 10:00:03,298- Thread: 101 SEVERE [com.vontu.enforce.mail.MailClient] 530 5.7.0 Must issue a STARTTLS command first
19 Dec 2025 10:00:03,298- Thread: 101 SEVERE [com.vontu.enforce.mail.MailClient] 503 5.7.0 encryption too weak 0 less than 128
16.1+
The main cause for this issue is that as per the log the Enforce server does not attempt to send the email using TLS and is using a non-TLS connection instead. The Enforce server determines whether the SMTP server uses TLS, or not, when the SMTP configuration is saved in System -> Settings General. When it happens the Enforce server performs a connection test and based on the result saves the configuration to either use TLS or not. There are 2 mains reasons why the connection may be saved as non-TLS:
To determine if the second cause is the root of the issue follow the below steps:
19 Dec 2025 09:22:19,177- Thread: 130 WARNING [com.vontu.enforce.mail.MailClient] SMTP server connection test failed
Cause:
javax.mail.MessagingException: Could not convert socket to TLSjavax.mail.MessagingException: Could not convert socket to TLS;
nested exception is:
javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
To resolve the issue it will be necessary to obtain and import the SMTP certificate to the default Java (JRE) truststore - cacerts. Alternatively the root certificate used to sign it can also be used. This needs to be cooperated with either the SMTP server administrator, or Certificate Authority within the organization.
Support for SMTP over TLS for Enforce Notifications was added in DLP 16.1:
Additional details on the certificate import can be found below:
Importing SSL Certificates to the Enforce Server or Detection Servers