Email settings give SSLHandshakeException

Peter N October 18, 2018

For Bamboo Email settings I was getting

The mail settings you entered were not valid. Error thrown was: javax.mail.MessagingException: Could not convert socket to TLS; 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 thought it was something to do with SSL certificates but it turns out that it's a bug. I accidently pressed 'Use TLS' when I didn't need it and when I unticket it, it seems to persist.

If you are testing an email address and this error continues to come up, click 'Cancel' and then 'Delete'. Enter the details again and your good to go.

I've just added this for posterity (likely myself in the future).

1 answer

0 votes
Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 9, 2019

Hi! 

This problem related the java mail lib or self-sign ssl. 

Let's upgrade to latest release of Bamboo 6.8 and reproduce it :)

 

Cheers,

Gonchik Tsymzhitov

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events