I am attempting to download the current version of D8.

wget https://ftp.drupal.org/files/projects/drupal-8.0.5.zip

returns:

--2016-03-08 18:44:04--  https://ftp.drupal.org/files/projects/drupal-8.0.5.zip
Resolving ftp.drupal.org... 23.235.40.68
Connecting to ftp.drupal.org|23.235.40.68|:443... connected.
ERROR: certificate common name `j.ssl.fastly.net' doesn't match requested host name `ftp.drupal.org'.
To connect to ftp.drupal.org insecurely, use `--no-check-certificate'.

I don't want to take the chance of downloading a fake version of D8. Can anyone shed some light on what's happening?

Comments

John Morahan’s picture

What version of wget are you using?

trailerparkopera’s picture

GNU Wget 1.12

This problem was reported on another site as well: http://www.drupalcenter.de/node/54797 but no answers there except to use CURL instead, which doesn't seem like much of a fix.

John Morahan’s picture

The certificate for ftp.drupal.org is actually a certificate from the Fastly CDN which covers *.drupal.org along with many other domains. This uses the subjectAltName extension to allow a single certificate to cover multiple domains. However, older versions of wget don't support this extension.

You can upgrade to a newer version of wget (sorry I don't know which one exactly, but I can confirm that at least 1.15 works), or use curl, or download the file in a browser and upload it to your site via SFTP.

trailerparkopera’s picture

That was a very clear explanation!