最近陆子方在为网站重新安装ssl证书时,acme报错并卡在Getting domain auth token for each domain,经过子方的测试,解决方法是升级一下acme.sh就可以了,希望小白们不要随意重装,网站环境是没有问题的。
解决办法
lnmp 1.6 ssl证书申请工具升级命令如下
/usr/local/acme.sh/acme.sh --upgrade
子方检查了同一服务器的其它站点,如果不升级的话,已有的证书仍可以自动更新,只是不能为网站创建新的SSL证书。
错误提示
It will be processed automatically. /usr/local/acme.sh/acme.sh [found] Starting create SSL Certificate use Let's Encrypt... [Thu Oct 17 10:53:03 CST 2019] Creating domain key [Thu Oct 17 10:53:03 CST 2019] The domain key is here: /usr/local/nginx/conf/ssl/www.xxx.org/www.xxx.org.key [Thu Oct 17 10:53:03 CST 2019] Multi domain='DNS:www.xxx.org,DNS:sxxx .org' [Thu Oct 17 10:53:03 CST 2019] Getting domain auth token for each domain
升级过程
/usr/local/acme.sh/acme.sh --upgrade [Thu Oct 17 11:01:23 CST 2019] Installing from online archive. [Thu Oct 17 11:01:23 CST 2019] Downloading https://github.com/Neilpang/acme.sh/archive/master.tar.gz [Thu Oct 17 11:01:29 CST 2019] Extracting master.tar.gz [Thu Oct 17 11:01:29 CST 2019] It is recommended to install socat first. [Thu Oct 17 11:01:29 CST 2019] We use socat for standalone server if you use standalone mode. [Thu Oct 17 11:01:29 CST 2019] If you don't use standalone mode, just ignore this warning. [Thu Oct 17 11:01:29 CST 2019] Installing to /usr/local/acme.sh [Thu Oct 17 11:01:29 CST 2019] Installed to /usr/local/acme.sh/acme.sh [Thu Oct 17 11:01:29 CST 2019] Good, bash is found, so change the shebang to use bash as preferred. [Thu Oct 17 11:01:30 CST 2019] OK [Thu Oct 17 11:01:30 CST 2019] Install success! [Thu Oct 17 11:01:30 CST 2019] Upgrade success!