wget命令出现Unable to establish SSL connection.的解决办法
程序员文章站
2022-05-31 15:36:33
...
报错:wget命令出现Unable to establish SSL connection.
[[email protected] ~]# wget https://github.com/jumpserver/jumpserver/releases/download/v2.1.0/quick_start.sh
--2021-06-22 17:43:01-- https://github.com/jumpserver/jumpserver/releases/download/v2.1.0/quick_start.sh
Resolving github.com (github.com)... 52.74.223.119
Connecting to github.com (github.com)|52.74.223.119|:443... connected.
Unable to establish SSL connection.
解决方法:
加上跳过验证证书的参数“–no-check-certificate”
如下图:
[[email protected] ~]# wget https://github.com/jumpserver/jumpserver/releases/download/v2.1.0/quick_start.sh --no-check-certificate
--2021-06-22 17:43:01-- https://github.com/jumpserver/jumpserver/releases/download/v2.1.0/quick_start.sh
Resolving github.com (github.com)... 52.74.223.119
Connecting to github.com (github.com)|52.74.223.119|:443... connected.
Unable to establish SSL connection.
加上参数“–no-check-certificate”后也不管用就要想到防火墙的问题(关键)
关掉防火墙并开机不自启
[[email protected] ~]# systemctl stop firewalld
[[email protected] ~]# systemctl disable firewalld
Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
[[email protected] ~]# wget https://github.com/jumpserver/jumpserver/releases/download/v2.1.0/quick_start.sh --no-check-certificate
--2021-06-22 18:32:27-- https://github.com/jumpserver/jumpserver/releases/download/v2.1.0/quick_start.sh
Resolving github.com (github.com)... 52.74.223.119
Connecting to github.com (github.com)|52.74.223.119|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-releases.githubusercontent.com/21484781/6f563380-c79b-11ea-9162-15684126da9f?X-Amz-Algorithm=AWS4-....
即连接成功
上一篇: 动态更换桌面图标
下一篇: 睡眠不好如何调理 十个方法拯救睡眠
推荐阅读
-
Linux使用wget安装出现Unable to establish SSL connection
-
Curl和Wget访问HTTPS连接出现Unable to establish SSl connection错误
-
[已解决] wget命令出现Unable to establish SSL connection.错误
-
wget命令出现Unable to establish SSL connection.的解决办法
-
CentOS使用wget命令提示“Unable to establish SSL connection“_解决方案
-
使用wget下载出现Unable to establish SSL connection问题的解决方案
-
【问题记录】CentOS7.6使用wget命令提示"Unable to establish SSL connection"