You are currently reviewing an older revision of this page.

DRAFT KB-XXXX Email polling fails with "PKIX path validation failed" error

This article does not apply to Appian Cloud environments.

Symptoms

Polling the email server fails with the following error observed in the <JBOSS_HOME>\standalone\log\server.log:

ERROR com.appiancorp.ra.emailpoller.MailActivation - An error occurred while
attempting to open the mailbox; no mail will be Fetched. javax.mail.MessagingException:
sun.secur1ty.va idator.Va1idatorException: PKIX path vaiidation Faiied:
java.security.cert.CertPathVa1idatorException: Path does not chain with any of the trust anchors; nestedexception is: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed

Cause

A self signed certificate was updated on the email server but no action was taken on the Appian side to trust this certificate.

Action

Update the certificate in Appian by importing into the trusted keystore of the JDK. To do so, follow the Action items outline in KB-1187.

Affected Versions

This article applies to all versions of Appian.

Last Reviewed: September 2018