You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I followed Atlassian's recommendation and migrated from my on-premise Jira to the Cloud version.
Migration worked quite well, only my incoming mail handlers are not working.
I configured the mail handler, just as on the old Jira, but when I click on Test, I keep getting this error message:
javax.mail.MessagingException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target while connecting to host 'MYDOMAIN.de' as user 'MY.USER' via protocol 'imaps, caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
MY.USER and MYDOMAIN are my user name and domain in the real error message.
Looks like some certificates are not in place or are not accepted.
Our certificates are from https://letsencrypt.org/
Any idea how to fix this?
this generic error message suggests there is a problem with the connection, more specifically it is about the SSL certificate as you already suspected.
There is a knowledge base article that some special certs are troubling but I could not find anything about Lets encrypt certificates:
I assume the mail server is under your control or at least controlled by your IT Team?
Thank you for your quick answer.
This was the missing hint. My friend ("the IT department") had a closer look to the certificate chains and due to misconfiguration on our mailserver the certificate was not deployed properly. He was now able to fix it.
Mail handler now working fine :)