Secure IMAP Error - unable to find valid certification path to requested target

Trying to add a secure IMAP server for Jira to cover incoming mail. Every time I try and test the connection I get 'SunCertPathBuilderException: unable to find valid certification path to requested target'.

Any idea if this is fixable?

2 answers

0 vote
Andy Nguyen Atlassian Team Feb 18, 2014


As you're connecting to a secure mail server, you need to import the certificate of the mail server to the keystore path of your JIRA, so that the mail server will trust your JIRA and allow the connection. For more information, kindly refer to Connecting to SSL services.



This is JIRA ondemand, it's hosted by Atlassian.

Andy Nguyen Atlassian Team Feb 19, 2014


If that's the case, the certificate of the mail server may not be trusted by Atlassian:

  • This problem comes from a certificate that is either self-signed (a CA did not sign it) or the certificate chain does not exist within the Java keystore. Subsequently, JIRA doesn't trust the certificate and fails to connect to the application.
  • It is not possible to install intermediate certificates in OnDemand. The potential impact might be that you will run into problems when adding secure POP/IMAP mail servers that have certificates signed by non-root CAs.
  • The workaround is to obtain a certificate signed by a trusted root Certification Authority (CA). The full list is here.

Please double check on this.




We have the "in house" version of Jira, the certificate is self-signed (from Plesk) but there is no settings in the interface to override the SSL check. In osTicket, I have not problem at all using POP3+SSL against the same server.

Is there a simple way to disable the checks ?


Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,345 views 14 20
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot