Gentoo Archives: gentoo-user

From: Adam Carter <adamcarter3@×××××.com>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] wget SSL authentication problem?
Date: Thu, 12 Jan 2017 08:19:28
Message-Id: CAC=wYCGhGJUBePNEKUB+XceWOyFmWGiejXMdYDOC4hJtgsyy1Q@mail.gmail.com
In Reply to: Re: [gentoo-user] wget SSL authentication problem? by Miroslav Rovis
1 On Thu, Jan 12, 2017 at 5:02 PM, Miroslav Rovis <
2 miro.rovis@××××××××××××××.hr> wrote:
3
4 > On 170111-22:57-0500, Walter Dnes wrote:
5 > > I'm trying to pull down a text file with a script. A web browser works
6 > > fine, but wget dies as follows...
7 > >
8 > At first I thought I had the same issue (will tell why further below).
9 > But I didn't have an issue with this download:
10 >
11 > > wget 'https://data.giss.nasa.gov/gistemp/tabledata_v3/GLB.Ts+dSST.txt'
12 > >
13 > > Resolving data.giss.nasa.gov... 128.183.4.33
14 > > Connecting to data.giss.nasa.gov|128.183.4.33|:443... connected.
15 > > OpenSSL: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert
16 > > handshake failure
17 > > Unable to establish SSL connection.
18 >
19
20 Works ok here (~amd64) with the following versions/flags;
21
22 $ emerge -pv wget openssl
23 These are the packages that would be merged, in order:
24 Calculating dependencies... done!
25 [ebuild R ] dev-libs/openssl-1.0.2j::gentoo USE="asm sslv3
26 tls-heartbeat zlib -bindist -gmp -kerberos -rfc3779 -sctp -sslv2
27 -static-libs {-test} -vanilla" ABI_X86="(64) -32 (-x32)"
28 CPU_FLAGS_X86="(sse2)" 0 KiB
29 [ebuild R ] net-misc/wget-1.18::gentoo USE="ipv6 nls pcre ssl zlib
30 -debug -gnutls -idn -libressl -ntlm -static {-test} -uuid" 0 KiB
31
32 $ wget -S https://data.giss.nasa.gov/gistemp/tabledata_v3/GLB.Ts+dSST.txt
33 --2017-01-12 19:17:35--
34 https://data.giss.nasa.gov/gistemp/tabledata_v3/GLB.Ts+dSST.txt
35 Resolving data.giss.nasa.gov... 128.183.4.33
36 Connecting to data.giss.nasa.gov|128.183.4.33|:443... connected.
37 HTTP request sent, awaiting response...
38 HTTP/1.1 200 OK
39 Date: Thu, 12 Jan 2017 08:14:44 GMT
40 Server: Apache
41 X-Frame-Options: SAMEORIGIN
42 Strict-Transport-Security: max-age=31536000
43 Last-Modified: Thu, 15 Dec 2016 15:17:59 GMT
44 ETag: "3e0b-543b3f56817c0"
45 Accept-Ranges: bytes
46 Content-Length: 15883
47 Keep-Alive: timeout=10, max=100
48 Connection: Keep-Alive
49 Content-Type: text/plain
50 Length: 15883 (16K) [text/plain]
51 Saving to: ‘GLB.Ts+dSST.txt’
52
53 GLB.Ts+dSST.txt 100%[=================>] 15.51K
54 10.3KB/s in 1.5s
55
56 2017-01-12 19:17:48 (10.3 KB/s) - ‘GLB.Ts+dSST.txt’ saved [15883/15883]
57
58 $ md5sum GLB.Ts+dSST.txt
59 54b278d0762cd3cd63085f7c544efb6c GLB.Ts+dSST.txt

Replies

Subject Author
Re: [gentoo-user] wget SSL authentication problem? Neil Bothwick <neil@××××××××××.uk>