WGET返回"无法建立SSL连接"

编程入门 行业动态 更新时间:2024-10-24 20:18:45
本文介绍了WGET返回"无法建立SSL连接"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

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

Unable to establish SSL connection.

我尝试了以下命令:

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

而且两个都没有奏效。

详细日志:

Resolving resourcesource (resourcesource)... {ip address} Caching resourcesource => {ip address} Connecting to resourcesource (resourcesource)|{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连接"

本文发布于:2023-11-15 04:42:53,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1591245.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:amp   WGET   SSL   quot

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!