本文介绍了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连接";
发布评论