VPS侦探论坛

 找回密码
 注册
查看: 2510|回复: 3

军哥,纯粹ipv6主机,添加ssl证书失败,请帮忙看看,谢谢

[复制链接]
发表于 2022-4-30 15:56:17 | 显示全部楼层 |阅读模式

本帖最后由 xptong 于 2022-4-30 15:57 编辑

[Sat 30 Apr 2022 03:40:40 PM CST] d='www.www.aaaaaaaaaaaaaaaa.com'
[Sat 30 Apr 2022 03:40:40 PM CST] ok, let's start to verify
[Sat 30 Apr 2022 03:40:40 PM CST] Verifying: www.aaaaaaaaaaaaaaaa.com
[Sat 30 Apr 2022 03:40:40 PM CST] d='www.aaaaaaaaaaaaaaaa.com'
[Sat 30 Apr 2022 03:40:40 PM CST] keyauthorization='dg5g8O5QeJs7sUgEIqWPbDkberuyLDGYy4sHxgZImYA.Uv6gHvoOQpQ2DRgW7bFPvnZkbzyd0ZG-7zkcyNCARM4'
[Sat 30 Apr 2022 03:40:40 PM CST] uri='https://acme-v02.api.letsencrypt.org/acme/chall-v3/103590688767/iVhm8A'
[Sat 30 Apr 2022 03:40:40 PM CST] _currentRoot='/home/wwwroot/www.aaaaaaaaaaaaaaaa.com'
[Sat 30 Apr 2022 03:40:40 PM CST] wellknown_path='/home/wwwroot/www.aaaaaaaaaaaaaaaa.com/.well-known/acme-challenge'
[Sat 30 Apr 2022 03:40:40 PM CST] writing token:dg5g8O5QeJs7sUgEIqWPbDkberuyLDGYy4sHxgZImYA to /home/wwwroot/www.aaaaaaaaaaaaaaaa.com/.well-known/acme-challenge/dg5g8O5QeJs7sUgEIqWPbDkberuyLDGYy4sHxgZImYA
[Sat 30 Apr 2022 03:40:40 PM CST] Changing owner/group of .well-known to www:www
[Sat 30 Apr 2022 03:40:40 PM CST] url='https://acme-v02.api.letsencrypt.org/acme/chall-v3/103590688767/iVhm8A'
[Sat 30 Apr 2022 03:40:40 PM CST] payload='{}'
[Sat 30 Apr 2022 03:40:40 PM CST] Retrying post
[Sat 30 Apr 2022 03:40:40 PM CST] POST
[Sat 30 Apr 2022 03:40:40 PM CST] _post_url='https://acme-v02.api.letsencrypt.org/acme/chall-v3/103590688767/iVhm8A'
[Sat 30 Apr 2022 03:40:40 PM CST] _CURL='curl --silent --dump-header /usr/local/acme.sh/http.header  -L  -g '
[Sat 30 Apr 2022 03:40:41 PM CST] _ret='0'
[Sat 30 Apr 2022 03:40:41 PM CST] _hcode='0'
[Sat 30 Apr 2022 03:40:41 PM CST] code='200'
[Sat 30 Apr 2022 03:40:41 PM CST] trigger validation code: 200
[Sat 30 Apr 2022 03:40:41 PM CST] Pending, The CA is processing your order, please just wait. (1/30)
[Sat 30 Apr 2022 03:40:41 PM CST] sleep 2 secs to verify again
[Sat 30 Apr 2022 03:40:43 PM CST] checking
[Sat 30 Apr 2022 03:40:43 PM CST] url='https://acme-v02.api.letsencrypt.org/acme/chall-v3/103590688767/iVhm8A'
[Sat 30 Apr 2022 03:40:43 PM CST] payload
[Sat 30 Apr 2022 03:40:43 PM CST] Retrying post
[Sat 30 Apr 2022 03:40:43 PM CST] POST
[Sat 30 Apr 2022 03:40:43 PM CST] _post_url='https://acme-v02.api.letsencrypt.org/acme/chall-v3/103590688767/iVhm8A'
[Sat 30 Apr 2022 03:40:43 PM CST] _CURL='curl --silent --dump-header /usr/local/acme.sh/http.header  -L  -g '
[Sat 30 Apr 2022 03:40:43 PM CST] _ret='0'
[Sat 30 Apr 2022 03:40:43 PM CST] _hcode='0'
[Sat 30 Apr 2022 03:40:44 PM CST] code='200'
[Sat 30 Apr 2022 03:40:44 PM CST] www.aaaaaaaaaaaaaaaa.com:Verify error:209999999991:badf8:6fadfaf:139898978::1: Invalid response from http://www.aaaaaaaaaaaaaaaa.com/.well-known/acme-challenge/dg5g8O5QeJs7sUgEIqWPbDkberuyLDGYy4sHxgZImYA: 404
[Sat 30 Apr 2022 03:40:44 PM CST] pid
[Sat 30 Apr 2022 03:40:44 PM CST] No need to restore nginx, skip.
[Sat 30 Apr 2022 03:40:44 PM CST] _clearupdns
[Sat 30 Apr 2022 03:40:44 PM CST] dns_entries
[Sat 30 Apr 2022 03:40:44 PM CST] skip dns.
[Sat 30 Apr 2022 03:40:44 PM CST] _on_issue_err
[Sat 30 Apr 2022 03:40:44 PM CST] Please check log file for more details: /usr/local/acme.sh/acme.sh.log
[Sat 30 Apr 2022 03:40:44 PM CST] url='https://acme-v02.api.letsencrypt.org/acme/chall-v3/103590688767/iVhm8A'
[Sat 30 Apr 2022 03:40:44 PM CST] payload='{}'
[Sat 30 Apr 2022 03:40:44 PM CST] Retrying post
[Sat 30 Apr 2022 03:40:44 PM CST] POST
[Sat 30 Apr 2022 03:40:44 PM CST] _post_url='https://acme-v02.api.letsencrypt.org/acme/chall-v3/103590688767/iVhm8A'
[Sat 30 Apr 2022 03:40:44 PM CST] _CURL='curl --silent --dump-header /usr/local/acme.sh/http.header  -L  -g '
[Sat 30 Apr 2022 03:40:44 PM CST] _ret='0'
[Sat 30 Apr 2022 03:40:44 PM CST] _hcode='0'
[Sat 30 Apr 2022 03:40:44 PM CST] code='400'
[Sat 30 Apr 2022 03:40:44 PM CST] url='https://acme-v02.api.letsencrypt.org/acme/chall-v3/103590688777/o43IBg'
[Sat 30 Apr 2022 03:40:44 PM CST] payload='{}'
[Sat 30 Apr 2022 03:40:44 PM CST] Retrying post
[Sat 30 Apr 2022 03:40:44 PM CST] POST
[Sat 30 Apr 2022 03:40:44 PM CST] _post_url='https://acme-v02.api.letsencrypt.org/acme/chall-v3/103590688777/o43IBg'
[Sat 30 Apr 2022 03:40:44 PM CST] _CURL='curl --silent --dump-header /usr/local/acme.sh/http.header  -L  -g '
[Sat 30 Apr 2022 03:40:45 PM CST] _ret='0'
[Sat 30 Apr 2022 03:40:45 PM CST] _hcode='0'
[Sat 30 Apr 2022 03:40:45 PM CST] code='200'



补充内容 (2022-4-30 16:13):
已经解决,要分开两个步骤操作,打扰了。抱歉
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2022-4-30 15:58:53 | 显示全部楼层


就是卡在 .well-known/acme-challenge/  这里了,怎么破?
先谢军哥
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2022-4-30 16:17:08 | 显示全部楼层

解决方案如下:
第一步 lnmp vhost  add  时候,ssl 证书时候,选择 no
第二步,修改vhost文件夹对应的 conf,将 #listen [::]:80;前面的 # 去掉,保存
第三步 ,lnmp nginx reload
第四步,lnmp ssl add
把网站配置路径重新输入一遍
第五步,再次修改 vhost下面对应域名的  conf
把#listen [::]:443 ssl http2;   的 # 去掉
保存后,输入命令  lnmp nginx reload
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2022-4-30 21:09:21 | 显示全部楼层



xptong 发表于 2022-4-30 16:17
解决方案如下:
第一步 lnmp vhost  add  时候,ssl 证书时候,选择 no
第二步,修改vhost文件夹对应的 con ...

已经在lnmp1.9 ,lnmp管理脚本中增加启用IPv6的选项
过几天发布
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-5 23:32 , Processed in 0.026881 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表