wget 从 GitHub 获取 zip 文件,OpenSSL 错误

wget 从 GitHub 获取 zip 文件,OpenSSL 错误
$ wget -O sindresorhus-is-online-master.zip https://github.com/sindresorhus/is-online/archive/master.zip
--2018-11-03 13:48:20--  https://github.com/sindresorhus/is-online/archive/master.zip
Resolving github.com... <ip>, <ip>
Connecting to github.com|<ip>|:443... connected.
OpenSSL: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Unable to establish SSL connection.

想知道在这种情况下该怎么做才能让 wget 工作。我知道如何使用curl 或从浏览器下载它,但我想知道在这种情况下如何使用wget 来下载它。

相关内容