按照教程执行:

curl https://get.acme.sh

半天不动。于是在浏览器中打开一看,好家伙:

_url="https://raw.githubusercontent.com/acmesh-official/acme.sh/$BRANCH/acme.sh"

githubusercontent.com 是 GFW 不放行的。

然后看到最后几行:

if ! $_get "$_url" | sh -s -- --install-online $_email "$@"; then
  echo "Install error"
  echo "中国大陆用户请参考:"
  echo "https://github.com/acmesh-official/acme.sh/wiki/Install-in-China"
fi

真贴心,为了中国特色专门定制了。


于是打开这个链接 https://github.com/acmesh-official/acme.sh/wiki/Install-in-China ,告诉你,在国内,用 gitee。

git clone https://gitee.com/neilpang/acme.sh.git
cd acme.sh

./acme.sh --install -m my@example.com
./acme.sh  --issue  -d crowall.com  -w /var/www/crowall

标签: fuckgfw