【发布时间】:2014-05-11 17:40:20
【问题描述】:
从 Java 发送邮件时出现以下异常。
31/03 14:06:19:571 INFO [ ] IBSUtils sendMailfromsmtp() MessagingException in Sending Mail :javax.mail.MessagingException: Can't send command to SMTP host;
nested exception is:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed
它在独立的 java 程序中发送邮件,但在从 JBoss 服务器运行时会抛出此异常。代码已经运行了六个月,但突然开始抛出这个异常。
似乎某些证书已过期。
【问题讨论】:
标签: java email jboss sslhandshakeexception