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 votes
Andy Nguyen Atlassian Team Feb 18, 2014

Hi,

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.

Cheers,

Andy

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

Andy Nguyen Atlassian Team Feb 19, 2014

Hi,

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.

Regards,

Andy

Hi,

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 ?

Regards

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

439 views 7 5
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