0


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,这个另一种解决思路就是安装或者更新自己的证书,操作如下

yum install -y ca-certificates

这个时候重新访问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 ~]#

标签: 大数据

本文转载自: https://blog.csdn.net/weixin_67405599/article/details/125625241
版权归原作者 陈骄 所有, 如有侵权,请联系我们删除。

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

还没有评论