> -----Original Message----- > From: krishna prasad > Sent: Sunday, March 26, 2017 08:44 > > Dear Group Members, > > We have jenkins and the issue is E-mail Notification is not > working for us. We are getting below error while I click on > "Test" button. Kindly help me to resolve the issue. > > > javax.mail.MessagingException: Could not connect to SMTP > host: ourdomain.net <http://ourdomain.net/> , port: 465; > 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
It is likely that your trust store does not have the needed certificates. A less likely error is that your JVM does not have the ability to negotiate the TLS connection (ciphers, version, etc.) Test with https://wiki.apache.org/tomcat/tools/SSLTest.java using the SAME JVM as jenkins. > at > com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1934) > at > com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport. > java:638) > > > I have installed on iredmail on different server on locally > and emails are working fine with SSL. Jenkins is installed on > different server. I have configured the smtp settings of my > local server in jenkins. Kindly help me to resolve this. > > Note: 1. I am able to telnet to port 465 from jenkins server > to mailserver > 2. I have configured the SMTP with ssl on > thunderbird and able to send the mail with ssl fine. But from > jenkins smtp not working. > 3. If I configure the gmail setting genkins > notification working fine. > 4. We have installed certbot SSl for our email server. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100 - - +1 (443) 269-1555 x333 Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/70A1A25ADB4043AC8CB018B678BAD498%40black7. For more options, visit https://groups.google.com/d/optout.