ERROR: certificate common name doesn't match requested host name

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

An error like the following is thrown when wget is used to download JIRA.

1 2 3 ERROR: certificate common name `s1.wpc.edgecastcdn.net' doesn't match requested host name `downloads.atlassian.com'. To connect to downloads.atlassian.com insecurely, use `--no-check-certificate'. Unable to establish SSL connection

Solution

Some versions of wget such as 1.12-2.fc13 do not correctly check the Server Alternate Name (SAN) property in the SSL certificate. More information can be found in the following bug report.

Workaround

As a workaround you can use curl to download the file.

  • Here's an example usage for curl

    1 curl -L --remote-name https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-6.4.3-x64.bin
Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.