CentOS使用wget命令提示“Unable to establish SSL connection“_解决方案

安装mysql,centos 环境wget出现Unable to establish SSL connection.

[root@VM-0-15-centos ~]#  wget https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.24-linux-glibc2.12-x86_64.tar.gz
--2021-04-24 23:30:38--  https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.24-linux-glibc2.12-x86_64.tar.gz
Resolving dev.mysql.com (dev.mysql.com)... 137.254.60.11
Connecting to dev.mysql.com (dev.mysql.com)|137.254.60.11|:443... connected.
Unable to establish SSL connection.

问题分析

wget后跟的url为https,对应端口443,https为加密传输的协议

加上参数 --no-check-certificate 一起使用,即==>wget https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.24-linux-glibc2.12-x86_64.tar.gz --no-check-certificat --no-check-certificat 在不检查安全证书,以不安全的方式连接指定url的作用

上一篇:小技巧——宝塔面板重启、重置命令


下一篇:Centos7.5傻瓜式安装Gitlab