ssl证书获取失败 Unable to find domain specified
你好, 我用lnmp dns申请ssl证书, 然后显示域名无法发现域名可以用http访问, 主机开启了80和443端口所以想请问军哥, 问题出在了哪里?
root@VM://usr/local/nginx/conf# export Namesilo_Key="b0bxxxxxxxxc"
root@VM://usr/local/nginx/conf# lnmp dns namesilo
+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| https://lnmp.org |
+-------------------------------------------+
/usr/local/acme.sh/acme.sh
Please enter domain(example: www.lnmp.org): bayesian.top
Your domain: bayesian.top
Enter more domain name(example: lnmp.org *.lnmp.org): *.bayesian.top
domain list: *.bayesian.top
Please enter the directory for domain bayesian.top: /home/wwwroot/default
Allow Rewrite rule? (y/n) y
Please enter the rewrite of programme,
wordpress,discuzx,typecho,thinkphp,laravel,codeigniter,yii2 rewrite was exist.
(Default rewrite: other):
You choose rewrite: other
Allow access log? (y/n) y
Enter access log filename(Default:bayesian.top.log):
You access log filename: bayesian.top.log
Enable PHP Pathinfo? (y/n) n
Disable pathinfo.
Starting create SSL Certificate use Let's Encrypt...
Multi domain='DNS:bayesian.top,DNS:*.bayesian.top'
Getting domain auth token for each domain
Getting webroot for domain='bayesian.top'
Getting webroot for domain='*.bayesian.top'
Adding txt value: yV5LVZ1xeHmv6ENGa9LZUC3QbNd-BzMjptE0CcyuCqw for domain:_acme-challenge.bayesian.top
Unable to find domain specified.
Error add txt for domain:_acme-challenge.bayesian.top
Please check log file for more details: /usr/local/acme.sh/acme.sh.log
Let's Encrypt SSL Certificate create failed!
按前面的返回信息是 Unable to find domain specified. 没找到指定的域名,域名是在这个api的账号里吗?
建议上传完整日志,api key信息不要泄露
dns方式验证和服务器端口上没关系,只要dns记录能正常添加验证就可以 licess 发表于 2020-3-6 17:14
按前面的返回信息是 Unable to find domain specified. 没找到指定的域名,域名是在这个api的账号里吗?
建 ...
重新换了api key之后, 第一次配置失败, 然后第二次用相同的key成功了. 最后还是不清楚什么原因, 可能是最初namesilo的api key有问题? future9510 发表于 2020-3-7 07:34
重新换了api key之后, 第一次配置失败, 然后第二次用相同的key成功了. 最后还是不清楚什么原因, 可能是最 ...
有可能他们的api抽风导致的
页:
[1]