SSLHandshakeException when attempting to send email

Hi,
I have this issue when I'm trying to test sending email notification from ignition@mg.soylutions.ca

As per the error message is like an issue with the certificate

javax.mail.MessagingException: Could not connect to SMTP host: smtp.mailgun.org, port: 465;
  nested exception is:
  javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Thank you

This means either your mail server is using a self-signed or corporate root CA certificate, or that something is intercepting your traffic and inserting a corporate root CA certificate, and Ignition doesn't trust that certificate by default because it's not a public CA.

You'll need to add that certificate to Ignition's supplemental certificates: Security Certificates | Ignition User Manual

1 Like

Thank you Kevin I will try that :slight_smile: