Incoming Mails throws exception although insert certifikate


I updated my JIRA on Friday to version 7.5. Unfortunately the retrieving of the mails no longer works. I get the error message: ProtocolException: No login methods supported!

Since I already knew the problem, I have the SSL certificate of the e-mailer again with portecle in the root certificates. After that, JIRA was restarted.
Nevertheless, the error message still appears

Do you still have ideas what I can test?

1 answer

0 votes

Since this happened immediately after an upgrade to Jira, I suspect this is happening because your Jira instance is using a new or different Java JRE/JDK location.  If that happens, then the path for your trust store certificates could be different than your previous Jira version.   By default Jira will bundle an Oracle JAVA JRE instance that it can use to run.  But it only uses this if the operating system does not currently have a %JAVA_HOME% value setup.

By setting up a %JAVA_HOME% environmental variable, you can protect yourself against these kinds of changes. 

The KB 'javax.mail.MessagingException No login methods supported' due to IMAP over SSL explains that this specific error you are seeing is indeed because your connection to you mail server is using SSL, but either Jira is not configured to use SSL/TLS, or Jira does not have the certificate for that connection in its truststore.

Given the steps you have followed so far, the only explanation I can see that would still cause this would be if the certificate has been added to the incorrect truststore.   If you can access your $JIRA_HOME/log/atlassian-jira.log file, when you restart Jira it will tell you under the section called "___ Java System Properties ________________" there will be an entry called 'java.home' that will show you a path that Jira is using for the JRE.  If this is not a path you created manually, then this is likely using the default $JIRAinstall/jre/ folder.

I'd recommend setting up the JAVA_HOME as described in the first link, then repeating the steps to add that certificate back to this new path.  From that point you can then restart Jira once more and this should resolve this problem.

Suggest an answer

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

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

27,223 views 2 7
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