Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Incoming mail has authentication problems after migration to cloud

Edited

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?

1 answer

1 accepted

1 vote
Answer accepted
Daniel Ebers Community Leader Nov 29, 2020

Hi Michael,

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:
https://confluence.atlassian.com/cloudkb/getting-certificate-error-when-connecting-atlassian-cloud-with-external-applications-using-godaddy-cert-815239674.html

I assume the mail server is under your control or at least controlled by your IT Team?

Cheers,
Daniel

Hi Daniel,

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 :)

Cheers,

Michael

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Asked in Atlassian Cloud Migration

AMA with Chris Clarke: Head of Product, Migration Journey

Happy  Migrations Month ! If you haven’t heard, this January we’re hosting exclusive events, giving away cloudies, and sharing helpful resources as part of our #CountdownToCloud celebration. H...

575 views 7 16
View question

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you