安裝acme.sh生成免費https證書

1. 安裝

curl https://get.acme.sh | sh

如果出現Failed to connect to raw.githubusercontent.com port 443錯誤,解決方案
查詢raw.githubusercontent.com真實IP,可以通過https://www.ipaddress.com/查詢raw.githubusercontent.com的真實IP。

然後通過修改hosts解決此問題

199.232.28.133 raw.githubusercontent.com

2. 生成https證書

官方文檔

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章