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

Still need help?

The Atlassian Community is here for you.

Ask the community

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 Mar 30, 2016

Was this helpful?

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