Jira Server throws AuthenticationFailedException when connecting to Exchange over SSL
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
- Stop JIRA
- Import the SSL Certificate of your mail server into JIRA's keystore (follow the instructions of connecting JIRA to SSL Services)
- Start JIRA
Last modified on Sep 25, 2019
Powered by Confluence and Scroll Viewport.