wgetを使用してHTTPSサイト(ssl)からダウンロードできませんか?

wgetを使用してHTTPSサイト(ssl)からダウンロードできませんか?

私の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.

追加しようとしましたが、--no-check-certificateまだサイコロがありません。とにかく、.zip以前のバージョンがインストールされているサーバーから入手できますか?wgethttps

この場合は公開タールボールです。また、脆弱性テスト用のiso(Protostar)も開発中です。


Wget 1.12およびOpenSSL 0.9.8の使用Debian Skize 6.0.3

ベストアンサー1

Debian Squeeze 6.0.3 で Wget 1.12 と OpenSSL 0.9.8 を使用する

OpenSSL 0.9.8はTLS 1.0以前のプロトコルバージョン(SSL 3.0など)のみをサポートしています。 ~によるとsslllabs、github.comはTLS 1.2のみをサポートしています。

TLS 1.0 クライアントが TLS 1.0 をサポートしていないサイトに接続できないため、接続が失敗します。

TLSv1警告プロトコルバージョン

GitHubからファイルをインポートするには、OpenSSL 0.9.8ではなくOpenSSLバージョン1.0.1以降に接続されている現在のブラウザやwgetなどのTLS 1.2対応クライアントが必要です。たとえば、最新のDebianバージョンにアップグレードすると、最新バージョンを入手できます。 Debian 6は2016年に寿命が終了し、6.0.3ははるかに長い間サポートされていません。

おすすめ記事