VPS侦探论坛

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

安装ssl报错

[复制链接]
发表于 2021-4-9 11:49:01 | 显示全部楼层 |阅读模式

[root@iZ2ze1sau88wr3ydieZ ssl]# lnmp onlyssl ali
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|              https://lnmp.org             |
+-------------------------------------------+
/usr/local/acme.sh/acme.sh [found]
Please enter domain(example: lnmp.org): ***.com
Your domain: **.com
Enter more domain name(example: *.lnmp.org): *.***.com
domain list: *.****.com
Starting create SSL Certificate use Let's Encrypt...
[Fri Apr  9 11:23:37 CST 2021] Using CA: https://acme-v02.api.letsencrypt.org/directory
[Fri Apr  9 11:23:37 CST 2021] Creating domain key
[Fri Apr  9 11:23:37 CST 2021] The domain key is here: /usr/local/nginx/conf/ssl/***.com/****.com.key
[Fri Apr  9 11:23:37 CST 2021] Multi domain='DNS:***.com,DNS:*.***.com'
[Fri Apr  9 11:23:37 CST 2021] Getting domain auth token for each domain
[Fri Apr  9 11:23:44 CST 2021] Getting webroot for domain='***.com'
[Fri Apr  9 11:23:44 CST 2021] Getting webroot for domain='*.***.com'
[Fri Apr  9 11:23:44 CST 2021] Adding txt value: 7hqO22yDwC5aIpbF5UwPqvQUvznHajB4pbpUjGrUkQ0 for domain:  _acme-challenge.***.com
[Fri Apr  9 11:23:44 CST 2021] You don't specify aliyun api key and secret yet.
[Fri Apr  9 11:23:44 CST 2021] Error add txt for domain:_acme-challenge.****.com
[Fri Apr  9 11:23:44 CST 2021] Please check log file for more details: /usr/local/acme.sh/acme.sh.log
Let's Encrypt SSL Certificate create failed!


acme.sh.log 文件内容







补充内容 (2021-4-9 11:50):
_ret='0'
[Fri Apr  9 11:23:44 CST 2021] code='200'
[Fri Apr  9 11:23:44 CST 2021] d='****.com'
[Fri Apr  9 11:23:44 CST 2021] Getting webroot for domain='****.com'
[Fri Apr  9 11:23:44 CST 2021] _...
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2021-4-9 11:50:54 | 显示全部楼层


_ret='0'
[Fri Apr  9 11:23:44 CST 2021] code='200'
[Fri Apr  9 11:23:44 CST 2021] d='****.com'
[Fri Apr  9 11:23:44 CST 2021] Getting webroot for domain='****.com'
[Fri Apr  9 11:23:44 CST 2021] _w='dns_ali'
[Fri Apr  9 11:23:44 CST 2021] _currentRoot='dns_ali'
[Fri Apr  9 11:23:44 CST 2021] entry='"type":"dns-01","status":"pending","url":"https://acme-v02.api.letsencrypt.org/acme/chall-v3/12194847346/O2WNqQ","token":"cQ_hrp4QVnPy8KcerWW5q2ZYiQrrch_T3RqXMUw-IKw"'
[Fri Apr  9 11:23:44 CST 2021] token='cQ_hrp4QVnPy8KcerWW5q2ZYiQrrch_T3RqXMUw-IKw'
[Fri Apr  9 11:23:44 CST 2021] uri='https://acme-v02.api.letsencrypt.org/acme/chall-v3/12194847346/O2WNqQ'
[Fri Apr  9 11:23:44 CST 2021] keyauthorization='cQ_hrp4QVnPy8KcerWW5q2ZYiQrrch_T3RqXMUw-IKw.NuI2JEVo4tmNWySKfO66rXvcNa2nYH6QZlMesWwnuls'
[Fri Apr  9 11:23:44 CST 2021] dvlist='****.com#cQ_hrp4QVnPy8KcerWW5q2ZYiQrrch_T3RqXMUw-IKw.NuI2JEVo4tmNWySKfO66rXvcNa2nYH6QZlMesWwnuls#https://acme-v02.api.letsencrypt.org/acme/chall-v3/12194847346/O2WNqQ#dns-01#dns_ali'
[Fri Apr  9 11:23:44 CST 2021] d='*.****.com'
[Fri Apr  9 11:23:44 CST 2021] Getting webroot for domain='*.****.com'
[Fri Apr  9 11:23:44 CST 2021] _w='dns_ali'
[Fri Apr  9 11:23:44 CST 2021] _currentRoot='dns_ali'
[Fri Apr  9 11:23:44 CST 2021] entry='"type":"dns-01","status":"pending","url":"https://acme-v02.api.letsencrypt.org/acme/chall-v3/12194847345/tpNyig","token":"0JXm4F9EJuFjmZDzgl1pHA6jBY7dPVsd7mUM408TFPc"'
[Fri Apr  9 11:23:44 CST 2021] token='0JXm4F9EJuFjmZDzgl1pHA6jBY7dPVsd7mUM408TFPc'
[Fri Apr  9 11:23:44 CST 2021] uri='https://acme-v02.api.letsencrypt.org/acme/chall-v3/12194847345/tpNyig'
[Fri Apr  9 11:23:44 CST 2021] keyauthorization='0JXm4F9EJuFjmZDzgl1pHA6jBY7dPVsd7mUM408TFPc.NuI2JEVo4tmNWySKfO66rXvcNa2nYH6QZlMesWwnuls'
[Fri Apr  9 11:23:44 CST 2021] dvlist='*.****.com#0JXm4F9EJuFjmZDzgl1pHA6jBY7dPVsd7mUM408TFPc.NuI2JEVo4tmNWySKfO66rXvcNa2nYH6QZlMesWwnuls#https://acme-v02.api.letsencrypt.org/acme/chall-v3/12194847345/tpNyig#dns-01#dns_ali'
[Fri Apr  9 11:23:44 CST 2021] d
[Fri Apr  9 11:23:44 CST 2021] vlist='****.com#cQ_hrp4QVnPy8KcerWW5q2ZYiQrrch_T3RqXMUw-IKw.NuI2JEVo4tmNWySKfO66rXvcNa2nYH6QZlMesWwnuls#https://acme-v02.api.letsencrypt.org/acme/chall-v3/12194847346/O2WNqQ#dns-01#dns_ali,*.****.com#0JXm4F9EJuFjmZDzgl1pHA6jBY7dPVsd7mUM408TFPc.NuI2JEVo4tmNWySKfO66rXvcNa2nYH6QZlMesWwnuls#https://acme-v02.api.letsencrypt.org/acme/chall-v3/12194847345/tpNyig#dns-01#dns_ali,'
[Fri Apr  9 11:23:44 CST 2021] d='****.com'
[Fri Apr  9 11:23:44 CST 2021] _d_alias
[Fri Apr  9 11:23:44 CST 2021] txtdomain='_acme-challenge.****.com'
[Fri Apr  9 11:23:44 CST 2021] txt='7hqO22yDwC5aIpbF5UwPqvQUvznHajB4pbpUjGrUkQ0'
[Fri Apr  9 11:23:44 CST 2021] d_api='/usr/local/acme.sh/dnsapi/dns_ali.sh'
[Fri Apr  9 11:23:44 CST 2021] Found domain api file: /usr/local/acme.sh/dnsapi/dns_ali.sh
[Fri Apr  9 11:23:44 CST 2021] Adding txt value: 7hqO22yDwC5aIpbF5UwPqvQUvznHajB4pbpUjGrUkQ0 for domain:  _acme-challenge.****.com
[Fri Apr  9 11:23:44 CST 2021] You don't specify aliyun api key and secret yet.
[Fri Apr  9 11:23:44 CST 2021] Error add txt for domain:_acme-challenge.****.com
[Fri Apr  9 11:23:44 CST 2021] _on_issue_err
[Fri Apr  9 11:23:44 CST 2021] Please check log file for more details: /usr/local/acme.sh/acme.sh.log
[Fri Apr  9 11:23:44 CST 2021] url='https://acme-v02.api.letsencrypt.org/acme/chall-v3/12194847346/O2WNqQ'
[Fri Apr  9 11:23:44 CST 2021] payload='{}'
[Fri Apr  9 11:23:44 CST 2021] POST
[Fri Apr  9 11:23:44 CST 2021] _post_url='https://acme-v02.api.letsencrypt.org/acme/chall-v3/12194847346/O2WNqQ'
[Fri Apr  9 11:23:44 CST 2021] _CURL='curl --silent --dump-header /usr/local/acme.sh/http.header  -L  -g '
[Fri Apr  9 11:23:45 CST 2021] _ret='0'
[Fri Apr  9 11:23:45 CST 2021] code='200'
[Fri Apr  9 11:23:45 CST 2021] url='https://acme-v02.api.letsencrypt.org/acme/chall-v3/12194847345/tpNyig'
[Fri Apr  9 11:23:45 CST 2021] payload='{}'
[Fri Apr  9 11:23:45 CST 2021] POST
[Fri Apr  9 11:23:45 CST 2021] _post_url='https://acme-v02.api.letsencrypt.org/acme/chall-v3/12194847345/tpNyig'
[Fri Apr  9 11:23:45 CST 2021] _CURL='curl --silent --dump-header /usr/local/acme.sh/http.header  -L  -g '
[Fri Apr  9 11:23:46 CST 2021] _ret='0'
[Fri Apr  9 11:23:46 CST 2021] code='200'
[Fri Apr  9 11:23:47 CST 2021] pid
[Fri Apr  9 11:23:47 CST 2021] No need to restore nginx, skip.
[Fri Apr  9 11:23:47 CST 2021] _clearupdns
[Fri Apr  9 11:23:47 CST 2021] dns_entries
[Fri Apr  9 11:23:47 CST 2021] skip dns.
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2021-4-9 20:46:03 | 显示全部楼层

上面已经提示了 [Fri Apr  9 11:23:44 CST 2021] You don't specify aliyun api key and secret yet.
你没export api信息
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2021-4-23 14:19:00 | 显示全部楼层



谢军哥,已解决。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-23 13:44 , Processed in 0.026747 second(s), 20 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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