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網(wǎng)站遇到了問題,系統(tǒng)提示我使用--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]文章來源:http://www.zghlxwxcb.cn/news/detail-400955.html
[root@mysql-test ~]#?
?文章來源地址http://www.zghlxwxcb.cn/news/detail-400955.html
到了這里,關于wget下載軟件包時,遇到不信任問題,除了跳過證書檢驗,更新或者下載ca證書也是個解決辦法的文章就介紹完了。如果您還想了解更多內容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關文章,希望大家以后多多支持TOY模板網(wǎng)!