为了账号安全,请及时绑定邮箱和手机立即绑定

wget返回“无法建立SSL连接”

wget返回“无法建立SSL连接”

偶然的你 2021-04-06 12:13:57
我正在尝试使用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 3Unable to establish SSL connection.Saving HSTS entries to /root/.wget-hsts我正在从docker容器中运行它。如果尝试通过我的机器访问资源,则可以访问它。任何解决此问题的建议都将不胜感激。
查看完整描述

2 回答

?
繁星coding

TA贡献1797条经验 获得超4个赞

这个命令解决了我的问题---> sudo yum update wget


查看完整回答
反对 回复 2021-04-16
  • 2 回答
  • 0 关注
  • 1796 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信