报错:Unable to locally verify the issuer’s authority.

2020年2月11日 | 分类: 【技术】

当 wget 时,报错:

Unable to locally verify the issuer’s authority

参考:https://www.cnblogs.com/zafu/p/9096210.html

wget --no-check-certificate https://github.com/curl/curl/raw/master/lib/mk-ca-bundle.pl
perl mk-ca-bundle.pl && rm certdata.txt
mkdir -p ~/.ssl/ && mv ca-bundle.crt mk-ca-bundle.pl ~/.ssl
echo "ca_certificate = ~/.ssl/ca-bundle.crt" >> ~/.wgetrc