VPS侦探论坛

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

lnmp onlyssl 报错,哪个大神知道的解决一下

[复制链接]
发表于 2024-6-2 15:15:15 | 显示全部楼层 |阅读模式



+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|              https://lnmp.org             |
+-------------------------------------------+
The dns manual mode can not renew automatically, you must renew it manually.
1: Use Let's Encrypt to create SSL Certificate and Key
2: Use ZeroSSL to create SSL Certificate and Key
Enter 1 or 2: 1
Please enter domain(example: lnmp.org): www.test.com
Your domain: www.test.com
Enter more domain name(example: *.lnmp.org):
/usr/local/acme.sh/acme.sh [found]
Starting create SSL Certificate use letsencrypt...
[Sun Jun  2 15:01:34 CST 2024] Using CA: https://acme-v02.api.letsencrypt.org/directory
[Sun Jun  2 15:01:34 CST 2024] Single domain='www.test.com'
[Sun Jun  2 15:01:34 CST 2024] Getting domain auth token for each domain
[Sun Jun  2 15:01:38 CST 2024] Getting webroot for domain='www.test.com'
[Sun Jun  2 15:01:38 CST 2024] Add the following TXT record:
[Sun Jun  2 15:01:38 CST 2024] Domain: '_acme-challenge.www.test.com'
[Sun Jun  2 15:01:39 CST 2024] TXT value: 'mCxVu6YWTadR8l76EKIKWmcEyGP9_XaEGsi4D4_TZ0w'
[Sun Jun  2 15:01:39 CST 2024] Please be aware that you prepend _acme-challenge. before your domain
[Sun Jun  2 15:01:39 CST 2024] so the resulting subdomain will be: _acme-challenge.www.test.com
[Sun Jun  2 15:01:39 CST 2024] Please add the TXT records to the domains, and re-run with --renew.
[Sun Jun  2 15:01:39 CST 2024] Please check log file for more details: /usr/local/acme.sh/acme.sh.log
Please add the above TXT record to the domain in 120 seconds!!!
[Sun Jun  2 15:03:40 CST 2024] Renew: 'www.test.com'
[Sun Jun  2 15:03:40 CST 2024] Renew to Le_API=https://acme-v02.api.letsencrypt.org/directory
[Sun Jun  2 15:03:41 CST 2024] Using CA: https://acme-v02.api.letsencrypt.org/directory
[Sun Jun  2 15:03:41 CST 2024] Single domain='www.test.com'
[Sun Jun  2 15:03:41 CST 2024] Getting domain auth token for each domain
[Sun Jun  2 15:03:41 CST 2024] Verifying: www.test.com
[Sun Jun  2 15:03:44 CST 2024] Pending, The CA is processing your order, please just wait. (1/30)
[Sun Jun  2 15:03:48 CST 2024] www.test.com:Verify errorNS problem: NXDOMAIN looking up TXT for _acme-challenge.www.test.com - check that a DNS record exists for this domain
[Sun Jun  2 15:03:48 CST 2024] Please check log file for more details: /usr/local/acme.sh/acme.sh.log
[Sun Jun  2 15:03:50 CST 2024] The dns manual mode can not renew automatically, you must issue it again manually. You'd better use the other modes instead.
Generate SSL Certificate failed!






www.test.com   是我替换的域名
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2024-6-3 10:24:00 | 显示全部楼层


  1. [Sun Jun  2 15:03:48 CST 2024] www.test.com:Verify errorNS problem: NXDOMAIN looking up TXT for _acme-challenge.www.test.com - check that a DNS record exists for this domain
复制代码


dns 解析错误 , 有可能是 密钥没有配置正确吧,导致没有权限添加解析记录
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2024-6-3 10:38:22 | 显示全部楼层

wuuyun 发表于 2024-6-3 10:24
dns 解析错误 , 有可能是 密钥没有配置正确吧,导致没有权限添加解析记录
...

感觉不是的
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2024-6-3 16:58:30 | 显示全部楼层



1、是否正确配置解析了?
2、解析还未生效,等十分钟左右再试试
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-21 19:43 , Processed in 0.026122 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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