Skip to main content
1-Visitor
July 13, 2018
Question

mail extension can't connect to exchange server

  • July 13, 2018
  • 1 reply
  • 1224 views

mail extension can't connect to exchange server:

Wrapped javax.mail.MessagingException: Could not convert socket to TLS; 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 Cause: Could not convert socket to TLS

 

Thingworx 6.5. Mail Extension 3.2

using corporate exchange server

 

1 reply

5-Regular Member
July 13, 2018

What version of Java do you have installed on the Thingworx server? Who is the certificate authority for the cert on the Exchange server? 

I know that there were some changes in how the certs are formatted/validated that can break in this way. I would recommend updating the Java version on the Thingworx server to:

  • Java 7 >= 7u111
  • Java 8 >= 8u101

And then restarting Tomcat (make sure that Tomcat's java opt are set to point to the new JVM)