首页 > Web开发 > 详细

Couldn’t download https://raw.githubusercontent.com/certbot/certbot/ 问题解决

时间:2020-07-20 14:59:38      阅读:510      评论:0      收藏:0      [点我收藏+]

更新证书时出现报错:Couldn’t download https://raw.githubusercontent.com/certbot/certbot/v1.3.0/letsencrypt-auto-source/letsencrypt-auto.发现是阿里云的ECS访问不到github,估计又是GFW的锅,只能修改hosts

1、使用命令打开etc文件夹下面的hosts文件:
vim /etc/hosts

2.增加内容

199.232.4.133 raw.githubusercontent.com

3.重启网络

service network restart
或者
/etc/init.d/network restart

Couldn’t download https://raw.githubusercontent.com/certbot/certbot/ 问题解决

原文:https://www.cnblogs.com/zh-dream/p/13344386.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!