wget报错:cannot verify mirrors.tuna.tsinghua.edu.cn's certificate, issued by ‘/C=US/O=Let's Encrypt/CN=R3’: Issued certificate has expired.
报错大概如下:
Connecting to mirrors.tuna.tsinghua.edu.cn (mirrors.tuna.tsinghua.edu.cn)|101.6.15.130|:443... connected. 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'.
我在安装gitlab时候,访问Tsinghua网站遇到了问题,系统提示我使用--no-check-certificate,这个另一种解决思路就是安装或者更新自己的证书,操作如下:
yum install -y ca-certificates
保证网络正常,重新下载即可正常下载