Eva*_*oll 4 debian wget ssl error-handling
我知道我的 wget 版本很旧,但我无法下载来使用它,
# wget https://github.com/radare/radare2/archive/master.zip
--2018-11-05 00:07:51-- https://github.com/radare/radare2/archive/master.zip
Resolving github.com... 192.30.253.112, 192.30.253.113
Connecting to github.com|192.30.253.112|:443... connected.
OpenSSL: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Unable to establish SSL connection.
# wget --secure-protocol SSLv3 https://github.com/radare/radare2/archive/master.zip
--2018-11-04 23:06:12-- https://github.com/radare/radare2/archive/master.zip
Resolving github.com... 192.30.253.112, 192.30.253.113
Connecting to github.com|192.30.253.112|:443... connected.
OpenSSL: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure
Unable to establish SSL connection.
# wget --secure-protocol SSLv2 https://github.com/radare/radare2/archive/master.zip
--2018-11-04 23:06:14-- https://github.com/radare/radare2/archive/master.zip
Resolving github.com... 192.30.253.113, 192.30.253.112
Connecting to github.com|192.30.253.113|:443... connected.
Unable to establish SSL connection.
# wget --secure-protocol TLSv1 https://github.com/radare/radare2/archive/master.zip
--2018-11-04 23:06:22-- https://github.com/radare/radare2/archive/master.zip
Resolving github.com... 192.30.253.112, 192.30.253.113
Connecting to github.com|192.30.253.112|:443... connected.
OpenSSL: error:1409442E:SSL routines:SSL3_READ_BYTES:tlsv1 alert protocol version
Unable to establish SSL connection.
Run Code Online (Sandbox Code Playgroud)
我试过添加--no-check-certificate
但仍然没有骰子。有没有办法在服务器上.zip
用一个古老的版本来获取wget
一个https
?
在这种情况下,它是一个公共 tarball。而且,我正在开发一个用于测试漏洞的 iso (Protostar)。
使用来自Debian Squeeze 6.0.3 的Wget 1.12 和 OpenSSL 0.9.8
使用来自 Debian Squeeze 6.0.3 的 Wget 1.12 和 OpenSSL 0.9.8
OpenSSL 0.9.8 仅支持 TLS 1.0 和更低的协议版本(即 SSL 3.0)。根据ssllabs github.com 仅支持 TLS 1.2。
由于无法将 TLS 1.0 客户端连接到不愿意支持 TLS 1.0 的站点,因此连接失败:
tlsv1 警报协议版本
要从 github 获取文件,您需要一个支持 TLS 1.2 的客户端,例如当前的浏览器或未链接到 OpenSSL 0.9.8 而是链接到至少版本为 1.0.1 的 OpenSSL 的 wget。例如,您可以通过升级到较新的 Debian 版本来获得这些较新版本 - 请注意,Debian 6 自 2016 年起就已停止使用,而您的 6.0.3 甚至不再受支持。
归档时间: |
|
查看次数: |
20002 次 |
最近记录: |