Jira Server throws AuthenticationFailedException when connecting to Exchange over SSL

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

JIRA is not retrieving mails from MS Exchange 2010 and the following appears in the atlassian-jira.log:

2014-04-04 15:34:11,888 QuartzWorker-0 ERROR ServiceRunner Create Issue [atlassian.mail.incoming.mailfetcherservice] Create Issue [10000]: Error connecting to host 'mailserver.mycompany.com' as user 'niceuser' via protocol 'pop3': javax.mail.AuthenticationFailedException: Command is not valid in this state.
javax.mail.AuthenticationFailedException: Command is not valid in this state.

Cause

JIRA is not being able to authenticate on the mail server because the SSL certificate of the mail server is not present in JIRA's keystore.

Resolution

Last modified on Sep 25, 2019

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.