Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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
Suggest Edit

Published March 27, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us