Gentoo Archives: gentoo-user

From: Miroslav Rovis <miro.rovis@××××××××××××××.hr>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] wget SSL authentication problem?
Date: Thu, 12 Jan 2017 06:02:42
Message-Id: 20170112060222.GA9291@g0n.xdwgrp
In Reply to: [gentoo-user] wget SSL authentication problem? by Walter Dnes
1 On 170111-22:57-0500, Walter Dnes wrote:
2 > I'm trying to pull down a text file with a script. A web browser works
3 > fine, but wget dies as follows...
4 >
5 At first I thought I had the same issue (will tell why further below).
6 But I didn't have an issue with this download:
7
8 > wget 'https://data.giss.nasa.gov/gistemp/tabledata_v3/GLB.Ts+dSST.txt'
9 >
10 > Resolving data.giss.nasa.gov... 128.183.4.33
11 > Connecting to data.giss.nasa.gov|128.183.4.33|:443... connected.
12 > OpenSSL: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert
13 > handshake failure
14 > Unable to establish SSL connection.
15 I had a normal output instead:
16
17 $ wget 'https://data.giss.nasa.gov/gistemp/tabledata_v3/GLB.Ts+dSST.txt'
18 --2017-01-12 06:45:19--
19 https://data.giss.nasa.gov/gistemp/tabledata_v3/GLB.Ts+dSST.txt
20 Resolving data.giss.nasa.gov... 128.183.4.33
21 Connecting to data.giss.nasa.gov|128.183.4.33|:443... connected.
22 HTTP request sent, awaiting response... 200 OK
23 Length: 15883 (16K) [text/plain]
24 Saving to: ‘GLB.Ts+dSST.txt’
25
26 GLB.Ts+dSST.txt 100%[===================================>]
27 15.51K --.-KB/s in 0.1s
28
29 2017-01-12 06:45:20 (119 KB/s) - ‘GLB.Ts+dSST.txt’ saved [15883/15883]
30
31 $
32
33 And the download is correct, the same as with Palemoon.
34
35 I do have the same wget-1.18 installed as below:
36
37 > Output from "emerge -pv wget" is...
38 >
39 > Calculating dependencies... done!
40 > [ebuild R ] net-misc/wget-1.18::gentoo USE="pcre ssl zlib -debug
41 > -gnutls -idn -ipv6 (-libressl) -nls -ntlm -static {-test} -uuid" 0 KiB
42 >
43 > The URL has recently changed from "http" to "https", which is when
44 > the problem showed up. I repeat, web browser works fine but wget dies.
45
46 The story about SSL is a good one, however. The network might by and
47 large be getting all the more decryptable for users, have a look at:
48
49 Write TLS session keys to $SSLKEYLOGFILE
50 https://github.com/rg3/youtube-dl/issues/11614
51
52 and:
53
54 SSL-key logging with Wget
55 http://www.croatiafidelis.hr/foss/cap/cap-170105_wget-ssl/
56
57 ( Just imaging if youtube-dl soon starts decrypting Schmoog the
58 Schmoogle!? That'd be sooo great! If only! And the spies won't be able
59 to hide to whoever they want! )
60
61 But I'm really writing this for problems with downloading with wget
62 elsewhere, other files, pls. have a look at this that I just posted:
63
64 < title pending, busy elsewhere >
65 http://www.croatiafidelis.hr/foss/cap/cap-170112_wget-ssl/
66
67 where, at this time only the screenshots and the traces tell the story,
68 no time to post text there yet.
69
70 But in short, I couldn't download this gzip archive:
71
72 https://www.redhat.com/archives/virt-tools-list/2017-January.txt.gz
73
74 with wget, but could with Palemoon browser. In fact it downloads with
75 Wget, and it has the right size, but it doesn't have the magic number
76 (0x1FB808) at start and it doesn't gunzip...
77
78 File a bug? To:
79 http://lists.gnu.org/mailman/listinfo/bug-wget
80
81 I'm unsure... As I have other issues that might be interfering...
82 Tried to subscribed though, just in case, but have issues... But no
83 time...
84
85 Regards!
86 --
87 Miroslav Rovis
88 Zagreb, Croatia
89 http://www.CroatiaFidelis.hr

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] wget SSL authentication problem? Adam Carter <adamcarter3@×××××.com>