curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused

缘由

最近在录制 从不知到全面了解HTTPS  这个视频,在使用acme.sh 申请ssl证书的时候 ,安装脚本出错,错误信息大致如下

curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused

解决方案

绑定hosts的方式  

$ vim /etc/hosts

199.232.68.133 raw.githubusercontent.com



原文地址:curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
标签:linux   http   https   ssl   acme   centos   

智能推荐

posted on 2020-12-07 01:14  即学即码+  阅读(300)  评论(0编辑  收藏  举报