ubuntu:wget报错:Unable to establish SSL connection.

一,报错信息

# wget https://files.phpmyadmin.net/phpMyAdmin/5.2.3/phpMyAdmin-5.2.3-all-languages.zip
--2026-09-12 22:07:02--  https://files.phpmyadmin.net/phpMyAdmin/5.2.3/phpMyAdmin-5.2.3-all-languages.zip
Resolving files.phpmyadmin.net (files.phpmyadmin.net)... 89.187.187.13, 143.244.51.58, 89.187.187.18, ...
Connecting to files.phpmyadmin.net (files.phpmyadmin.net)|89.187.187.13|:443... connected.
Unable to establish SSL connection.

二,原因:

wget 报错 Unable to establish SSL connection 通常是由于 客户端与服务器之间的 TLS 版本不匹配系统缺少 CA 根证书服务器证书过期/自签名 导致的。

三,解决:

 --no-check-certificate 参数跳过 SSL 校验

# wget --no-check-certificat https://files.phpmyadmin.net/phpMyAdmin/5.2.3/phpMyAdmin-5.2.3-all-languages.zip

 

posted @ 2026-09-12 22:12  刘宏缔的架构森林  阅读(7)  评论(0)    收藏  举报