Closed zht007 closed 7 months ago
N1一样这个代码
--2023-11-12 22:26:44-- https://raw.githubusercontent.com/wukongdaily/commonscript/master/common/common.sh Resolving raw.githubusercontent.com... 0.0.0.0, :: Connecting to raw.githubusercontent.com|0.0.0.0|:443... connected. ERROR: cannot verify raw.githubusercontent.com's certificate, issued by 'CN=OpenWrt,O=OpenWrtc01b04d3,L=Unknown,ST=Somewhere,C=ZZ': Self-signed certificate encountered. ERROR: certificate common name 'OpenWrt' doesn't match requested host name 'raw.githubusercontent.com'. To connect to raw.githubusercontent.com insecurely, use `--no-check-certificate'.
我也遇到同样的问题了。我用以下方法解决了:将猴哥的common.sh
下载到本地,然后打开openwrt文件传输,将common.sh
上传到路由器,然后ssh
打开路由终端,先输入cd \tmp\upload\
进入文件夹内,然后利用ls
命令查看是否存在common.sh
,如果存在,继续输入chmod +x /tmp/upload/common.sh && /tmp/upload/common.sh
,就可以加载脚本进入安装步骤啦!!!
替换为cdn,已解决。
固件和主机型号如下
Resolving raw.githubusercontent.com... 0.0.0.0, :: Connecting to raw.githubusercontent.com|0.0.0.0|:443... connected. ERROR: cannot verify raw.githubusercontent.com's certificate, issued by 'CN=OpenWrt,O=OpenWrt3d485f52,L=Unknown,ST=Somewhere,C=ZZ': Self-signed certificate encountered. ERROR: certificate common name 'OpenWrt' doesn't match requested host name 'raw.githubusercontent.com'. To connect to raw.githubusercontent.com insecurely, use `--no-check-certificate'.