• 陪伴互联网运营小白共同探索成长,与IT爱好者共享探索乐趣
  • 建站只为分享,欢迎在PC端文章面打赏支持
  • 使用Ctrl+D 可收藏本站

lnmp 1.6添加ssl一直报错卡在Getting domain auth token for each domain

好玩有趣 陆子方 5年前 (2019-11-18) 3607次浏览 0个评论 扫描二维码
文章目录[隐藏]

最近陆子方在为网站重新安装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!

子方有料原创丨转载请注明原文链接
期待您的评论或捐赠,这是最好的鼓励和支持!
喜欢 (5)
[赞赏使我快乐]
分享 (0)
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到