解决wget出现ERROR: The certificate的解决方法
解决wget出现ERROR: The certificate的解决方法
wget下载openlitespeed出现了以下错误
1
2
3
4
5
6
7
wget https://openlitespeed.org/packages/openlitespeed-1.7.7.src.tgz
--2020-12-14 05:50:31-- https://openlitespeed.org/packages/openlitespeed-1.7.7.src.tgz
Resolving openlitespeed.org (openlitespeed.org)... 104.131.32.114, 2604:a880:800:10::5e0:7001
Connecting to openlitespeed.org (openlitespeed.org)|104.131.32.114|:443... connected.
ERROR: The certificate of ‘openlitespeed.org’ is not trusted.
ERROR: The certificate of ‘openlitespeed.org’ hasn't got a known issuer.
解决方法
1、
--no-check-certificate
2、
1
2
3
apt-get install ca-certificates -y #Debian/Ubuntu
yum install ca-certificates -y #CentOS