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

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

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

Problem

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

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

Diagnosis

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

    curl -L --remote-name https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-6.4.3-x64.bin

Last modified on Nov 25, 2024

Was this helpful?

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