apt 收到 TLS 致命警报

apt 收到 TLS 致命警报

当我运行sudo apt update此返回时“已收到 TLS 致命警报”到上的存储库https

Err:6 https://download.docker.com/linux/ubuntu focal Release                                                       
  Could not handshake: A TLS fatal alert has been received. [IP: 10.0.3.10 80]

通过代理,这似乎是 gnutls 工具的一个问题。

当我直接对该主机运行 gnutls-cli 时,响应是相同的。

gnutls-cli download.docker.com
Processed 128 CA certificate(s).
Resolving 'download.docker.com:443'...
Connecting to '13.227.92.69:443'...
*** Fatal error: A TLS fatal alert has been received.
*** Received alert [49]: Access was denied

代理已在中配置,/etc/apt/apt.conf并且上的存储库http运行良好,并且浏览器可以访问此 URL。

Acquire::http::Proxy "http://10.0.3.10:80";
Acquire::https::Proxy "http://10.0.3.10:80";
Acquire::ftp::Proxy "http://10.0.3.10:80";

缺什么?

相关内容