全球主机交流论坛

标题: 申请acme证书出错有大佬知道咋回事吗 [打印本页]

作者: bugrun    时间: 2020-12-8 14:11
标题: 申请acme证书出错有大佬知道咋回事吗
[Tue Dec  8 13:58:48 CST 2020] xxxx.com:Verify error:Connection refused
/root/.acme.sh/acme.sh: line 2344: kill: (27779) - No such process
[Tue Dec  8 13:58:48 CST 2020] Please add '--debug' or '--log' to check more details.
[Tue Dec  8 13:58:48 CST 2020] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh

作者: binean    时间: 2020-12-8 14:14
起码要把你用的命令贴出来吧
作者: 论坛大师    时间: 2020-12-8 14:15
上面不是写了吗,让你申请证书时添加 '--debug' 或 '--log' 查看出错原因
作者: fatal    时间: 2020-12-8 14:15
80、443开了么
作者: bugrun    时间: 2020-12-8 14:18
fatal 发表于 2020-12-8 14:15
80、443开了么

开了
作者: fatal    时间: 2020-12-8 14:20
bugrun 发表于 2020-12-8 14:18
开了

'--debug' 或 '--log' 查看出错原因

作者: bugrun    时间: 2020-12-8 14:22
fatal 发表于 2020-12-8 14:20
'--debug' 或 '--log' 查看出错原因

[Tue Dec  8 14:21:28 CST 2020] url='https://acme-v02.api.letsencrypt.org/acme/chall-v3/9153642712/5UoMAg'
[Tue Dec  8 14:21:28 CST 2020] payload='{}'
[Tue Dec  8 14:21:29 CST 2020] POST
[Tue Dec  8 14:21:29 CST 2020] _post_url='https://acme-v02.api.letsencrypt.org/acme/chall-v3/9153642712/5UoMAg'
[Tue Dec  8 14:21:29 CST 2020] _CURL='curl --silent --dump-header /root/.acme.sh/http.header  -L  -g '
[Tue Dec  8 14:21:29 CST 2020] _ret='0'
[Tue Dec  8 14:21:29 CST 2020] code='400'
[Tue Dec  8 14:21:29 CST 2020] Diagnosis versions:
opensslpenssl
OpenSSL 1.0.1t  3 May 2016
apache:
apache doesn't exist.
nginx:
nginx doesn't exist.
socat:
socat by Gerhard Rieger - see www.dest-unreach.org
socat version 1.7.2.4+sigfix on Feb 12 2015 17:25:22
   running on Linux version #1 SMP Mon Jun 24 16:51:05 UTC 2019, release 4.14.129-bbrplus, machine x86_64
features:
  #define WITH_STDIO 1
  #define WITH_FDNUM 1
  #define WITH_FILE 1
  #define WITH_CREAT 1
  #define WITH_GOPEN 1
  #define WITH_TERMIOS 1
  #define WITH_PIPE 1
  #define WITH_UNIX 1
  #define WITH_ABSTRACT_UNIXSOCKET 1
  #define WITH_IP4 1
  #define WITH_IP6 1
  #define WITH_RAWIP 1
  #define WITH_GENERICSOCKET 1
  #define WITH_INTERFACE 1
  #define WITH_TCP 1
  #define WITH_UDP 1
  #define WITH_SCTP 1
  #define WITH_LISTEN 1
  #define WITH_SOCKS4 1
  #define WITH_SOCKS4A 1
  #define WITH_PROXY 1
  #define WITH_SYSTEM 1
  #define WITH_EXEC 1
  #undef WITH_READLINE
  #define WITH_TUN 1
  #define WITH_PTY 1
  #define WITH_OPENSSL 1
  #undef WITH_FIPS
  #define WITH_LIBWRAP 1
  #define WITH_SYCLS 1
  #define WITH_FILAN 1
  #define WITH_RETRY 1
  #define WITH_MSGLEVEL 0 /*debug*/

作者: fatal    时间: 2020-12-8 15:04
本帖最后由 fatal 于 2020-12-8 15:05 编辑
bugrun 发表于 2020-12-8 14:22
[Tue Dec  8 14:21:28 CST 2020] url='https://acme-v02.api.letsencrypt.org/acme/chall-v3/9153642712/ ...


apache:
apache doesn't exist.
nginx:
nginx doesn't exist.
socat:
socat by Gerhard Rieger - see www.dest-unreach.org


webserver没装还是没启?
没装的话弄个socat吧。。

作者: bugrun    时间: 2020-12-8 15:10
fatal 发表于 2020-12-8 15:04
apache:
apache doesn't exist.
nginx:


Reading package lists... Done
Building dependency tree
Reading state information... Done
socat is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 185 not upgraded.
装过了
作者: fatal    时间: 2020-12-8 15:17
bugrun 发表于 2020-12-8 15:10
Reading package lists... Done
Building dependency tree
Reading state information... Done

https://**blogs.com/007sx/p/11370713.html
https://www.jianshu.com/p/b74ea2e07631

签发证书就这点花头。。。俺菜,还真不知道大佬可能的出错
作者: SuperBoy_SB    时间: 2020-12-11 12:13
你是免费域名吧,cf、tk这些申请不了了
作者: bugrun    时间: 2020-12-11 12:32
SuperBoy_SB 发表于 2020-12-11 12:13
你是免费域名吧,cf、tk这些申请不了了

不是还个系统解决了
作者: westyl    时间: 2020-12-11 12:34
自己通过HTTP访问自己的域名试试
怀疑你的Web server 都没有运行
或者DNS更新没有生效
作者: NiDiPiZiNaFongQ    时间: 2020-12-11 12:35
buypass是不是不支持win等肥猪流域名?
作者: westyl    时间: 2020-12-11 12:36
NiDiPiZiNaFongQ 发表于 2020-12-11 12:35
buypass是不是不支持win等肥猪流域名?

至少win是支持的
作者: llyang    时间: 2020-12-11 12:38
不知道你是apache还是nginx

apche我不懂,略过

如果nginx。这样测试下
systmectl restart nginx -- 看看正常与否
如果正常,再运行
systemctl stop nginx
再运行申请证书
申请完毕,在运行
systemctl start nginx

有点复杂哈





欢迎光临 全球主机交流论坛 (https://hostloc.9hanju.com/) Powered by Discuz! X3.4