绑定域名出错,疑似SSL有问题

问答中心分类: OneinStack绑定域名出错,疑似SSL有问题
Jude 提问 2周 前

之前根据https://oneinstack.com/faq/letsencrypt/ 用了*.cnxxxone.cn泛域名成功了,在新绑定域名aaa.test.com时,选http,会报错,详情已贴出。
另外,即使是选Let’s Encrypt,也会报DNS problem: NXDOMAIN looking up A for xxx的错
 
Please choose to use environment:
1. Use php
2. Use java
Please input a number:(Default 1 press Enter) 1
What Are You Doing?
1. Use HTTP Only
2. Use your own SSL Certificate and Key
3. Use Let’s Encrypt to Create SSL Certificate and Key
q. Exit
Please input the correct option: 1
Please input domain(example: http://www.example.com): aaa.test.com
domain=aaa.test.com
Please input the directory for the domain:aaa.test.com :
(Default directory: /data/wwwroot/aaa.test.com): /data/wwwroot/testdir
Create Virtul Host directory……
set permissions of Virtual Host directory……
Do you want to add more domain name? [y/n]: n
Do you want to add hotlink protection? [y/n]: y
Allow Rewrite rule? [y/n]: y
Please input the rewrite of programme :
wordpress,opencart,magento2,drupal,joomla,laravel,thinkphp,pathinfo,discuz,typecho,ecshop,nextcloud rewrite was exist.
(Default rewrite: other):
You choose rewrite=other
Allow Nginx/Tengine/OpenResty access_log? [y/n]: y
You access log file=/data/wwwlogs/aaa.test.com_nginx.log
nginx: [emerg] BIO_new_file(“/usr/local/nginx/conf/ssl/www.cnxxxone.cn.crt”) failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen(‘/usr/local/nginx/conf/ssl/www.cnxxxone.cn.crt’,’r’) error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: configuration file /usr/local/nginx/conf/nginx.conf test failed
Create virtualhost … [FAILED]

问题标签:
1 问题
oneinstack 回答 1周 前

aaa.test.com 没有添加A记录或者let’s服务器不能访问aaa.test.com 验证域名所有权,建议直接用dnsapi获取