VPS侦探论坛

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

ssl证书获取失败 Unable to find domain specified

[复制链接]
发表于 2020-3-6 11:58:03 | 显示全部楼层 |阅读模式



你好, 我用lnmp dns申请ssl证书, 然后显示域名无法发现域名可以用http访问, 主机开启了80和443端口
所以想请问军哥, 问题出在了哪里?
  1. root@VM://usr/local/nginx/conf# export Namesilo_Key="b0bxxxxxxxxc"
  2. root@VM://usr/local/nginx/conf# lnmp dns namesilo
  3. +-------------------------------------------+
  4. |    Manager for LNMP, Written by Licess    |
  5. +-------------------------------------------+
  6. |              https://lnmp.org             |
  7. +-------------------------------------------+
  8. /usr/local/acme.sh/acme.sh [found]
  9. Please enter domain(example: www.lnmp.org): bayesian.top
  10. Your domain: bayesian.top
  11. Enter more domain name(example: lnmp.org *.lnmp.org): *.bayesian.top
  12. domain list: *.bayesian.top
  13. Please enter the directory for domain bayesian.top: /home/wwwroot/default
  14. Allow Rewrite rule? (y/n) y
  15. Please enter the rewrite of programme,
  16. wordpress,discuzx,typecho,thinkphp,laravel,codeigniter,yii2 rewrite was exist.
  17. (Default rewrite: other):
  18. You choose rewrite: other
  19. Allow access log? (y/n) y
  20. Enter access log filename(Default:bayesian.top.log):
  21. You access log filename: bayesian.top.log
  22. Enable PHP Pathinfo? (y/n) n
  23. Disable pathinfo.
  24. Starting create SSL Certificate use Let's Encrypt...
  25. [Fri Mar  6 11:50:24 CST 2020] Multi domain='DNS:bayesian.top,DNS:*.bayesian.top'
  26. [Fri Mar  6 11:50:24 CST 2020] Getting domain auth token for each domain
  27. [Fri Mar  6 11:50:25 CST 2020] Getting webroot for domain='bayesian.top'
  28. [Fri Mar  6 11:50:25 CST 2020] Getting webroot for domain='*.bayesian.top'
  29. [Fri Mar  6 11:50:25 CST 2020] Adding txt value: yV5LVZ1xeHmv6ENGa9LZUC3QbNd-BzMjptE0CcyuCqw for domain:  _acme-challenge.bayesian.top
  30. [Fri Mar  6 11:50:26 CST 2020] Unable to find domain specified.
  31. [Fri Mar  6 11:50:26 CST 2020] Error add txt for domain:_acme-challenge.bayesian.top
  32. [Fri Mar  6 11:50:26 CST 2020] Please check log file for more details: /usr/local/acme.sh/acme.sh.log
  33. Let's Encrypt SSL Certificate create failed!
复制代码



本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPSKVMLAVPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2020-3-6 17:14:47 | 显示全部楼层


按前面的返回信息是 Unable to find domain specified. 没找到指定的域名,域名是在这个api的账号里吗?
建议上传完整日志,api key信息不要泄露
dns方式验证和服务器端口上没关系,只要dns记录能正常添加验证就可以
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2020-3-7 07:34:02 | 显示全部楼层



licess 发表于 2020-3-6 17:14
按前面的返回信息是 Unable to find domain specified. 没找到指定的域名,域名是在这个api的账号里吗?
建 ...

重新换了api key之后, 第一次配置失败, 然后第二次用相同的key成功了. 最后还是不清楚什么原因, 可能是最初namesilo的api key有问题?
美国VPS推荐: 遨游主机LinodeLOCVPSKVMLAVPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2020-3-7 10:51:28 | 显示全部楼层



future9510 发表于 2020-3-7 07:34
重新换了api key之后, 第一次配置失败, 然后第二次用相同的key成功了. 最后还是不清楚什么原因, 可能是最 ...

有可能他们的api抽风导致的
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2020-7-9 18:28 , Processed in 0.048212 second(s), 27 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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