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]文章来源:https://www.toymoban.com/news/detail-400955.html
[root@mysql-test ~]#
文章来源地址https://www.toymoban.com/news/detail-400955.html
到了这里,关于wget下载软件包时,遇到不信任问题,除了跳过证书检验,更新或者下载ca证书也是个解决办法的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!