JIRA shows SSL error when setting up emails

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Problem

When trying to set up the email in JIRA (Mail Handlers or Outgoing Mail Server), an SSL error occurs when trying to send/receive email, despite JIRA not configured to use SSL.

Example SSL errors are :

1 com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first. xt9sm7519059pbc.14 - gsmtp
1 sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Diagnosis

Environment

  • An antivirus is installed and enabled in the server hosting JIRA

Cause

The antivirus is scanning the email connections, in particular the SSL connections. This causes problems as the majority of mail servers uses HTTPS.

Solution

Resolution

Disable the email checking section of the antivirus

Updated on April 2, 2025

Still need help?

The Atlassian Community is here for you.