AE integration with SMTP fails using STARTTLS
search cancel

AE integration with SMTP fails using STARTTLS

book

Article ID: 366704

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

The procedure to configure an SMTP connection as documented here was applied but email to an SMTP gateways fails

Extracted from the log of JWP logs:

20231107/152826.658 - 74   U00050005 Error when establishing SMTP connection: 'Error during STARTTLS upgrade' (SMTP server: 'smtp.xxx.xxx')
20231109/102013.608 - 82   U00045014 Exception 'javax.net.ssl.SSLException: "Unsupported or unrecognized SSL message"' at 'sun.security.ssl.SSLSocketInputRecord.handleUnknownRecord():457'.
20231109/121139.270 - 92   U00045014 Exception 'javax.net.ssl.SSLHandshakeException: "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"' at 'sun.security.ssl.Alert.createSSLException():131'.
20231109/121139.270 - 92   U00045014 Exception 'com.automic.synccall.mail.MailException: "null"' at 'com.automic.synccall.mail.MailClient.startTLS():416'.
20231109/121139.271 - 92   U00050005 Error when establishing SMTP connection: 'Error during STARTTLS upgrade' (SMTP server: 'smtp.xxx.xxx')

Environment

AE 21.0.9 or 24.0.0

Cause

This is a defect of the Automation Engine application.

A bug has been fixed where Java CACERTS were not used when attempting encrypted connections to SMTP servers.

 

Resolution

This bug is fixed in the following product versions:

Automation.Engine 21.0.10 - Available

Automation.Engine 24.1.0 - Available

Automation.Engine 24.0.0 HF1 - Available

Additional Information

The reference for this bug is  AE-34822
Public Description: A bug has been fixed where Java CACERTS were not utilized when attempting encrypted connections to SMTP servers.