Four Stars fem
Four Stars

sending emails

hi,

i cannot seem to send  mails from a talend job

error- 

avax.mail.MessagingException: Exception reading response;
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

 

i entered the smtp host , smtp server. but still theres an exception

is there any settings we need to change in our email accounts?

2 REPLIES
Twelve Stars

Re: sending emails

error is here:

unable to find valid certification path to requested target

try to add tSetKeyStore into Your job and import into trust store SSL certificate of Your mail server

You can use - http://keystore-explorer.org for help

also You can add same certificate into JDK main keystore 

 

-----------
Four Stars fem
Four Stars

Re: sending emails

hi,

can you please tell me where do i get the SSL certificate for gmail server? is it paid? or free?