lalala_999 发表于 2024-6-2 15:15:15

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



+-------------------------------------------+
|    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
Starting create SSL Certificate use letsencrypt...
Using CA: https://acme-v02.api.letsencrypt.org/directory
Single domain='www.test.com'
Getting domain auth token for each domain
Getting webroot for domain='www.test.com'
Add the following TXT record:
Domain: '_acme-challenge.www.test.com'
TXT value: 'mCxVu6YWTadR8l76EKIKWmcEyGP9_XaEGsi4D4_TZ0w'
Please be aware that you prepend _acme-challenge. before your domain
so the resulting subdomain will be: _acme-challenge.www.test.com
Please add the TXT records to the domains, and re-run with --renew.
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!!!
Renew: 'www.test.com'
Renew to Le_API=https://acme-v02.api.letsencrypt.org/directory
Using CA: https://acme-v02.api.letsencrypt.org/directory
Single domain='www.test.com'
Getting domain auth token for each domain
Verifying: www.test.com
Pending, The CA is processing your order, please just wait. (1/30)
www.test.com:Verify error:DNS problem: NXDOMAIN looking up TXT for _acme-challenge.www.test.com - check that a DNS record exists for this domain
Please check log file for more details: /usr/local/acme.sh/acme.sh.log
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   是我替换的域名

wuuyun 发表于 2024-6-3 10:24:00

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 解析错误 , 有可能是 密钥没有配置正确吧,导致没有权限添加解析记录

lalala_999 发表于 2024-6-3 10:38:22

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

感觉不是的

iquan 发表于 2024-6-3 16:58:30

1、是否正确配置解析了?
2、解析还未生效,等十分钟左右再试试
页: [1]
查看完整版本: lnmp onlyssl 报错,哪个大神知道的解决一下