wget下载软件包时,遇到不信任问题,除了跳过证书检验,更新或者下载ca证书也是个解决办法

ERROR: cannot verify mirrors.tuna.tsinghua.edu.cn’s certificate, issued by ‘/C=US/O=Let’s Encrypt/CN=R3’:
  Issued certificate has expired.
To connect to mirrors.tuna.tsinghua.edu.cn insecurely, use `–no-check-certificate’.

我在源码安装mysql时候,访问Tsinghua 站遇到了问题,系统提示我使用–no-check-certificate,这个另一种解决思路就是安装或者更新自己的证书,操作如下

这个时候重新访问Tsinghua,下载mysql的压缩包,结果如下

[root@mysql-test ~]# wget https://mirrors.tuna.tsinghua.edu.cn/mysql/downloads/MySQL-5.7/mysql-boost-5.7.38.tar.gz
–2022-07-05 17:51:45–  https://mirrors.tuna.tsinghua.edu.cn/mysql/downloads/MySQL-5.7/mysql-boost-5.7.38.tar.gz
Resolving mirrors.tuna.tsinghua.edu.cn (mirrors.tuna.tsinghua.edu.cn)… 101.6.15.130, 2402:f000:1:400::2
Connecting to mirrors.tuna.tsinghua.edu.cn (mirrors.tuna.tsinghua.edu.cn)|101.6.15.130|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 52973240 (51M) [application/octet-stream]
Saving to: ‘mysql-boost-5.7.38.tar.gz’

100%[======================================================================>] 52,973,240   590KB/s   in 52s    

2022-07-05 17:52:37 (995 KB/s) – ‘mysql-boost-5.7.38.tar.gz’ saved [52973240/52973240]

[root@mysql-test ~]# 
 

文章知识点与官方知识档案匹配,可进一步学习相关知识Linux技能树Linux实用命令cURL和wget命令4008 人正在系统学习中

声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!

上一篇 2022年6月3日
下一篇 2022年6月3日

相关推荐