#######################################################################
# OneinStack for CentOS/RadHat 6+ Debian 7+ and Ubuntu 12+ #
# For more information please visit https://oneinstack.com #
#######################################################################
Please input domain(example: www.example.com): bestchengdu.com
domain=bestchengdu.com
Please input the directory for the domain:bestchengdu.com :
(Default directory: /data/wwwroot/bestchengdu.com):
Virtual Host Directory=/data/wwwroot/bestchengdu.com
Create Virtul Host directory......
set permissions of Virtual Host directory......
Do you want to add more domain name? [y/n]: y
Type domainname or IP(example: example.com other.example.com): *.bestchengdu.com
domain list=*.bestchengdu.com
Do you want to redirect from *.bestchengdu.com to bestchengdu.com? [y/n]: y
Do you want to redirect all HTTP requests to HTTPS? [y/n]: y
Please select DNS provider:
dp,cx,ali,cf,aws,linode,he,namesilo,dgon,freedns,gd,namecom and so on.
More: https://oneinstack.com/faq/letsencrypt
Please enter your DNS provider: cx
Syntax: export Key1=Value1 ; export Key2=Value1
Please enter your dnsapi parameters: export Key1=a724e89bca240c9addfa18e0f4cxxxxxx; export Key2=49068d017eeaxxxx
[Fri Sep 14 14:39:14 CST 2018] Multi domain='DNS:bestchengdu.com,DNS:*.bestchengdu.com'
[Fri Sep 14 14:39:14 CST 2018] Getting domain auth token for each domain
[Fri Sep 14 14:39:19 CST 2018] Getting webroot for domain='bestchengdu.com'
[Fri Sep 14 14:39:19 CST 2018] Getting webroot for domain='*.bestchengdu.com'
[Fri Sep 14 14:39:19 CST 2018] Found domain api file: /root/.acme.sh/dnsapi/dns_cx.sh
[Fri Sep 14 14:39:20 CST 2018] invalid domain
[Fri Sep 14 14:39:20 CST 2018] Error add txt for domain:_acme-challenge.bestchengdu.com
[Fri Sep 14 14:39:20 CST 2018] Please add '--debug' or '--log' to check more details.
[Fri Sep 14 14:39:20 CST 2018] See: https://github.com/Neilpang/acme.sh/wiki/How-to-debug-acme.sh
Error: Create Let's Encrypt SSL Certificate failed!