Article - CS342318

Email notification fails with error "Could not convert socket to TLS" in Windchill PDMLink

Modified: 28-May-2025   


Applies To

  • Windchill PDMLink 12.0 to 12.1

Description

  • Big number of entries of EmailQueue in Ready state with future Schedule time
  • EmailQueue entries failing with Latest Delivery Time Exceeded
  • After following the steps in CS288408 to configure Windchill to connect to Office365 SMTP, sending Email fails 
  • In EmailQueue, see Could not convert socket to TLS message
    • The entry requeue in Ready sate
User-added image
  • With wt.mail JMX logging level set to ALL, see the following logging messages in Methodserver log after sending email

    2021-04-05 10:13:03,563 INFO  [EMailQueue.SchedulingThread] wt.system.err Administrator - javax.mail.MessagingException: Could not convert socket to TLS; 2021-04-05 10:13:03,563 INFO  [EMailQueue.SchedulingThread] wt.system.err Administrator -   nested exception is: 2021-04-05 10:13:03,563 INFO  [EMailQueue.SchedulingThread] wt.system.err Administrator -                 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 2021-04-05 10:13:03,563 INFO  [EMailQueue.SchedulingThread] wt.system.err Administrator -    at com.sun.mail.smtp.SMTPTransport.startTLS(SMTPTransport.java:2155) 2021-04-05 10:13:03,563 INFO  [EMailQueue.SchedulingThread] wt.system.err Administrator -    at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:752)
This is a printer-friendly version of Article 342318 and may be out of date. For the latest version click CS342318