37

When I try to run Wget with the following options:

E:\Program Files\GnuWin32\bin>wget -p --html-extension --convert-links --no-check-certificate https://minecraft.net/en-us/
SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
syswgetrc = E:\Program Files\GnuWin32/etc/wgetrc
--2017-02-24 10:38:01--  https://minecraft.net/en-us/
Resolving minecraft.net... 52.84.24.33, 52.84.24.150, 52.84.24.230, ...
Connecting to minecraft.net|52.84.24.33|:443... connected.
OpenSSL: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
Unable to establish SSL connection.

I get the error: Unable to establish SSL connection. The website that I am trying to download is safe.

I have also tried to change the protocol to SSLv3, but it still is not working.

Can someone tell me why it is doing this and how to get around it?

7 Answers7

29

You can find a newer version here: Windows binaries of GNU Wget

It works fine, I had the same problem.

Greenonline
  • 2,390
Chris
  • 291
21

As SSL Labs shows, only TLSv1.0 and above are supported by minecraft.net. You can't use SSLv3 with it. It's likely that your version of wget doesn't support this (possibly due to being too old). Try upgrading it.

4

I downloaded the 32-bit .exe file. It works.

wget.exe np -r -nH -L --cut-dirs=2 https://coast.noaa.gov/htdata/lidar1_z/geoid12a/data/3654/20090316_249102.laz
studiohack
  • 13,477
Jack
  • 41
  • 1
3

You may want to add --secure-protocol=TLSv1 option.

Check also if installed OpenSSL supporting TLS by running:

openssl s_client -connect minecraft.net:443 -tls1
Alex
  • 6,375
3

Had a similar error, but in my case only “Unable to establish SSL connection.” was shown without explanation. I have used a WinWget, which included a wget compiled without SSL support. Solved by downloading full version from https://eternallybored.org/misc/wget/

Ivan P.
  • 255
1

adding to the accepted answer: if you're on windows and don't find or don't trust a reasonably new wget, try curl instead. As mentioned here it may already be included in Windows 10.

0

I had this problem and using a newer wget as mentioned in other answers solved it. However I'm not into installing binaries from random sites, if you're on Windows as the OP is and have WSL installed with Ubuntu then you can open a bash shell and have the latest ubuntu wget. If wget not installed:

sudo apt install wget

You can easily get to your windows stuff via cd /mnt/c (or d or whichever drive)

User
  • 3,835