Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Bluemoon
Creator
Creator

Issue with tSendMail??

These are the configuration i have given initially it used to work with this configuration. But now it is throwing error now.

 

0683p000009LwDr.png

[INFO ]: esbdemo.sendmail_0_1.SendMail - TalendJob: 'SendMail' - Start.
[statistics] connecting to socket on port 3727
[statistics] connected
[INFO ]: esbdemo.sendmail_0_1.SendMail - tSendMail_1 - Connection attempt to 'smtp.office365.com'.
[INFO ]: esbdemo.sendmail_0_1.SendMail - tSendMail_1 - Connection to 'smtp.office365.com' has succeeded.
Exception in component tSendMail_1
javax.mail.MessagingException: Can't send command to SMTP host;
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
at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:1420)
at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:1408)
at com.sun.mail.smtp.SMTPTransport.ehlo(SMTPTransport.java:847)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:384)
at javax.mail.Service.connect(Service.java:297)
at javax.mail.Service.connect(Service.java:156)
at javax.mail.Service.connect(Service.java:105)
at javax.mail.Transport.send0(Transport.java:168)
at javax.mail.Transport.send(Transport.java:98)
at esbdemo.sendmail_0_1.SendMail.tSendMail_1Process(SendMail.java:712)
at esbdemo.sendmail_0_1.SendMail.tJava_1Process(SendMail.java:380)
at esbdemo.sendmail_0_1.SendMail.runJobInTOS(SendMail.java:997)
[FATAL]: esbdemo.sendmail_0_1.SendMail - tSendMail_1 Can't send command to SMTP host
at esbdemo.sendmail_0_1.SendMail.main(SendMail.java:831)
Caused by: 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
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1514)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1026)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:961)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:747)
at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123)
at com.sun.mail.util.TraceOutputStream.write(TraceOutputStream.java:101)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:1418)
... 12 more
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387)
at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
at sun.security.validator.Validator.validate(Validator.java:260)
at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1496)
... 23 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)
at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
... 29 more
[statistics] disconnected

 

Please can anyone help me??

Labels (3)
1 Solution

Accepted Solutions
TRF
Champion II
Champion II

It sounds like you've lost your certificate or it has expired.

View solution in original post

4 Replies
TRF
Champion II
Champion II

It sounds like you've lost your certificate or it has expired.
Bluemoon
Creator
Creator
Author

How can i renew the certificate in Windows 10??
TRF
Champion II
Champion II

Can't help you for this subject. I suggest you to go to a Microsoft forum or may StackExchange.
Sillysheep
Contributor
Contributor

Has your problem been solved? I have also encountered this problem. I have tried all the methods we said, but it has no effect. 

And I have no problem using python.

If you solve it, I urgently hope you can share it with me, and I will be very grateful!