[root@iZuf60b2oqkencqmwd57z1Z bin]# wget https://downloads.xiph.org/releases/speex/speex-1.2.0.tar.gz --2023-05-30 00:47:30-- https://downloads.xiph.org/releases/speex/speex-1.2.0.tar.gz Resolving downloads.xiph.org (downloads.xiph.org)... 140.211.166.31, 2001:470:eb26:42::1 Connecting to downloads.xiph.org (downloads.xiph.org)|140.211.166.31|:443... connected. OpenSSL: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Unable to establish SSL connection.
时间: 2024-02-01 12:03:24 浏览: 24
这个错误提示表明您的 OpenSSL 版本可能太旧,无法与 Xiph.Org Foundation 官方网站使用的 TLS 协议版本进行通信。您可以尝试使用以下命令禁用 SSLv3 协议和 TLSv1.0 协议,强制使用 TLSv1.2 协议进行连接:
```
wget --secure-protocol=TLSv1.2 https://downloads.xiph.org/releases/speex/speex-1.2.0.tar.gz
```
如果您仍然无法成功连接,请确保您的 OpenSSL 版本已经更新到最新版本,并尝试在其他时间重新连接。
相关问题
[root@iZuf60b2oqkencqmwd57z1Z bin]# wget --secure-protocol=TLSv1.2 https://downloads.xiph.org/releases/speex/speex-1.2.0.tar.gz wget: --secure-protocol: Invalid value ‘TLSv1.2’.
这个错误提示表明您的 `wget` 版本可能太旧,不支持 `--secure-protocol` 选项。您可以尝试更新 `wget` 版本,然后再尝试使用上述命令。您可以使用以下命令更新 `wget`:
```
sudo yum update wget
```
如果更新后仍然无法使用 `--secure-protocol` 选项,请尝试使用以下命令下载 Speex:
```
curl -O https://downloads.xiph.org/releases/speex/speex-1.2.0.tar.gz
```
这个命令将使用 curl 工具下载 Speex,绕过 SSL 连接问题。然后,您可以按照之前的步骤编译和安装 Speex。
[root@iZuf60b2oqkencqmwd57z1Z bin]# openssl version OpenSSL 1.0.2k-fips 26 Jan 201
您的 OpenSSL 版本是 1.0.2k-fips,它应该可以支持与 Xiph.Org Foundation 官方网站使用的TLS协议版本进行通信。如果您仍然遇到 SSL 连接错误,请尝试使用以下命令禁用 SSLv3 协议和 TLSv1.0 协议:
```
wget --secure-protocol=TLSv1.2 https://downloads.xiph.org/releases/speex/speex-1.2.0.tar.gz
```
这个命令将会强制使用 TLSv1.2 协议进行连接,绕过 SSLv3 和 TLSv1.0 协议的问题。如果您仍然无法成功连接,请尝试使用其他下载方式,或者尝试在其他时间重新连接。