问题在下载安装任意文件时报
ERROR: cannot verify dannywiki.com’s certificate, issued by ‘CN=sslTrus (RSA) OV CA,O=sslTrus,C=CN’: Unable to locally verify the issuer’s authority.To connect to dannywiki.com insecurely, use `–no-check-certificate’
centos下
mv /etc/pki/tls/certs/ca-bundle.crt /etc/pki/tls/certs/ca-bundle.crt_backup
mkdir -p /etc/pki/tls/certs
wget -O /etc/pki/tls/certs/ca-bundle.crt http://download.bt.cn/tools/ca/cacert.pem
chmod 444 /etc/pki/tls/certs/ca-bundle.crt
ubuntu下
sudo apt-get install ca-certificates
echo "ca_certificate=/etc/ssl/certs/ca-certificates.crt" >> /etc/wgetrc