Configuring Incoming mail server error

Hi All

I am trying to set up an incoming mail server on jira. However, I am receiving this error while trying to Add POP / IMAP Mail Server.

Here's the error on UI

Unfortunately no connection was possible. Review the errors below and rectify:

  • SunCertPathBuilderException: unable to find valid certification path to requested target

Here's the error on logs

2013-12-09 19:11:20,174 http-bio-80-exec-12 ERROR aich 1151x3891x1 1desnst /secure/admin/VerifyPopServerConnection!add.jspa [plugins.mail.webwork.VerifyMailServer] Unable to connect to the server at due to the following exception: unable to find valid certification path to requested target..

Any idea guys?

1 answer

Hi Rahul,

It seems that your mail server uses SSL. You'll need to import the certificate and any intermediary CA certificates into the cacerts file of the JAVA installation that JIRA use pointing to.

You can see more details about the import process in this documentation.


Pedro Cora Atlassian Team Dec 09, 2013


Just follow the documenatation that Tiago sent on Connecting JIRA to SSL Services. Basically, you need to get the certificate of your mail server and import in the Keystore that JIRA is using. The page contains step-by-step instructions.

Hi Tiago

We already have certificates installed on our jira instance, i am not sure how to install a second certificate for our mail server. Any ideas?


@Pedro, given whats been said so far, its likely that an intermediate CA cert is required, you mention only one, the documentation will talk of multiple certs but it helps to clarify that a set of certificates can be rquired in some cases.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,412 views 15 19
Read article

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