unable to send email from websphere server

158 views
Skip to first unread message

Lei

unread,
Jul 1, 2013, 4:00:53 PM7/1/13
to programmin...@googlegroups.com
Error 500: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: Can't send command to SMTP host; nested exception is: javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.g: PKIX path building failed: java.security.cert.CertPathBuilderException: PKIXCertPathBuilderImpl could not build a valid CertPath.; internal cause is: java.security.cert.CertPathValidatorException: The certificate issued by OU=Equifax Secure Certificate Authority, O=Equifax, C=US is not trusted; internal cause is: java.security.cert.CertPathValidatorException: Certificate chaining error. Failed messages: javax.mail.MessagingException: Can't send command to SMTP host; nested exception is: javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.g: PKIX path building failed: java.security.cert.CertPathBuilderException: PKIXCertPathBuilderImpl could not build a valid CertPath.; internal cause is: java.security.cert.CertPathValidatorException: The certificate issued by OU=Equifax Secure Certificate Authority, O=Equifax, C=US is not trusted; internal cause is: java.security.cert.CertPathValidatorException: Certificate chaining error; message exceptions (1) are: Failed message 1: javax.mail.MessagingException: Can't send command to SMTP host; nested exception is: javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.g: PKIX path building failed: java.security.cert.CertPathBuilderException: PKIXCertPathBuilderImpl could not build a valid CertPath.; internal cause is: java.security.cert.CertPathValidatorException: The certificate issued by OU=Equifax Secure Certificate Authority, O=Equifax, C=US is not trusted; internal cause is: java.security.cert.CertPathValidatorException: Certificate chaining error

Lei

unread,
Jul 1, 2013, 4:01:58 PM7/1/13
to programmin...@googlegroups.com
http://stackoverflow.com/questions/14994384/unable-to-send-mail-from-localhost-websphere-application-server

You are trying to send an email to a server that uses SSL (in this case looks like gmail), WebSphere does not trust the certificate and that is why you are failing.

You need to import Google certificate into the WebSphere's trust store and it should be working for you.

The easiest way is to use Retrieve from port which lets you give the host name and port and WebSphere will get the certificate for you.

Reply all
Reply to author
Forward
0 new messages