centos7安装SSL证书失败

问答中心分类: OneinStackcentos7安装SSL证书失败
Din asked 6 年 ago
搜索了本站的问题,域名是在阿里云的  所以2个月前的阿里云的key之类的也设置过,但是重新弄的时候还是不行,显示证书安装失败

[Fri Sep 21 14:51:56 CST 2018] Single domain='pan.din.red'
[Fri Sep 21 14:51:56 CST 2018] Getting domain auth token for each domain
[Fri Sep 21 14:51:56 CST 2018] Getting webroot for domain='pan.din.red'
[Fri Sep 21 14:51:56 CST 2018] Getting new-authz for domain='pan.din.red'
[Fri Sep 21 14:51:57 CST 2018] The new-authz request is ok.
[Fri Sep 21 14:51:57 CST 2018] Verifyingan.din.red
[Fri Sep 21 14:52:00 CST 2018] pan.din.red:Verify error:Invalid response from http://pan.din.red/.well-known/acme-challenge/PNklNqdTewD5ZahrQz8T54ikKeUxO4ZhT4AcmrwXIdg: q%!(EXTRA string=
[Fri Sep 21 14:52:00 CST 2018] Please add '--debug' or '--log' to check more details.
[Fri Sep 21 14:52:00 CST 2018] See: https://github.com/Neilpang/acme.sh/wiki/How-to-debug-acme.sh
Error: Create Let's Encrypt SSL Certificate failed! 

非常确认A解析到了IP

3 Answers
oneinstack answered 6 年 ago
如果是国内主机,需要备案,否则webroot验证不通过,建议选择dnsapi,参考:https://oneinstack.com/faq/letsencrypt/

Din answered 6 年 ago
您好,感谢您从百忙中回答我的问题,但是我是国外的主机

oneinstack answered 6 年 ago
尝试用dnsapi是否可以,参考:https://oneinstack.com/faq/letsencrypt/