Support Article
SMTP with SSL configuration for outgoing mail does not work
SA-411
Summary
Unable to configure SMTP on SSL for outgoing mails.
Error Messages
**Date and time**,046 [fault (self-tuning)'] [TABTHREAD1] [ PEGAApp:01.01.01] (pega_integrationengine_default) ERROR pega-test.com|HOST rhamel - Exception caught while testing connection to sslmsmtp as user test
javax.mail.MessagingException: Can't send command to SMTP host;
nested exception is:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed:
Root Cause
Trust store of the application server must be populated to accept the SMTP server's security certificate or disable STARTTLS on the desired SMTP endpoint to make Pega application server's trust store work correctly with STARTTLS-enabled email infrastructure.
Resolution
STARTTLS support can be disabled within PRPC. Store True value in a dynamic system setting record with keys given below:
Owning Ruleset: Pega-IntSvcs
Setting Purpose: Email/DisableSecuritySTARTTLS
Published March 27, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.