主机操作系统:
Rocky Linux 8
问题描述:
无法下载 https://rpm.rancher.io/public.key
重现步骤:
[root@localhost ~]# curl -v https://rpm.rancher.io/public.key
* Trying 104.21.2.160:443...
* Trying 2606:4700:3036::6815:2a0:443...
* Immediate connect fail for 2606:4700:3036::6815:2a0: Network is unreachable
* Trying 2606:4700:3031::ac43:815f:443...
* Immediate connect fail for 2606:4700:3031::ac43:815f: Network is unreachable
* Connected to rpm.rancher.io (104.21.2.160) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
* CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* OpenSSL SSL_connect: Connection reset by peer in connection to rpm.rancher.io:443
* Closing connection 0
curl: (35) OpenSSL SSL_connect: Connection reset by peer in connection to rpm.rancher.io:443
[root@localhost ~]# wget https://rpm.rancher.io/public.key -d
DEBUG output created by Wget 1.21.2 on linux-gnu.
Reading HSTS entries from /root/.wget-hsts
URI encoding = ‘UTF-8’
Converted file name 'public.key' (UTF-8) -> 'public.key' (UTF-8)
--2023-07-13 10:19:58-- https://rpm.rancher.io/public.key
Certificates loaded: 148
Resolving rpm.rancher.io (rpm.rancher.io)... 104.21.2.160, 172.67.129.95, 2606:4700:3036::6815:2a0, ...
Caching rpm.rancher.io => 104.21.2.160 172.67.129.95 2606:4700:3036::6815:2a0 2606:4700:3031::ac43:815f
Connecting to rpm.rancher.io (rpm.rancher.io)|104.21.2.160|:443... connected.
Created socket 3.
Releasing 0x0000aaab1f5d98e0 (new refcount 1).
GnuTLS: Error in the pull function.
Closed fd 3
Unable to establish SSL connection.