OpenWrt update feeds时提示错误的解决方法

如题,在一台ubuntu server的机器上尝试编译OpenWrt时,系统提示fatal: unable to access 'https://git.openwrt.org/feed/routing.git/': server certificate verification failed. CAfile: none CRLfile: none。这个原因是因为证书引起的。解决方法,即更新证书,很简单,请看下方~

sudo apt update -y

sudo apt-get install apt-transport-https ca-certificates -y

sudo update-ca-certificates

然后再重新尝试update feeds,一切正常~

 

Enjoy~

点赞

发表评论

电子邮件地址不会被公开。必填项已用 * 标注

You must enable javascript to see captcha here!