WGET返回"无法建立SSL连接" [英] wget returns "Unable to establish SSL connection"

查看:26
本文介绍了WGET返回"无法建立SSL连接"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用wget检索资源,但不断收到以下错误:

Unable to establish SSL connection.

我尝试了以下命令:

wget -d https://resourcesource.com/spring-boot-starter-parent-2.0.0.RELEASE.pom 
wget --no-check-certificate -d https://resourcesource.com/spring-boot-starter-parent-2.0.0.RELEASE.pom 

而且两个都没有奏效。

详细日志:

Resolving resourcesource.com (resourcesource.com)... {ip address}
Caching resourcesource.com => {ip address}
Connecting to resourcesource.com 
(resourcesource.com)|{ip address}:443... connected.
Created socket 3.
Releasing 0x000055c98ca7a8d0 (new refcount 1).
Initiating SSL handshake.
SSL handshake failed.
Closed fd 3
Unable to establish SSL connection.
Saving HSTS entries to /root/.wget-hsts

我在码头容器中运行此程序。如果我尝试通过我的机器访问资源,我能够访问它。

任何有关解决此问题的建议都将不胜感激。

谢谢。

推荐答案

此命令解决了我的问题-> Sudo yum更新wget

这篇关于WGET返回"无法建立SSL连接"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆