Let's Encrypt泛域名生成失败
# lnmp vhost add+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| https://lnmp.org |
+-------------------------------------------+
Please enter domain(example: www.lnmp.org): compucen.com
Your domain: compucen.com
Enter more domain name(example: lnmp.org *.lnmp.org): *.compucen.com
domain list: *.compucen.com
Please enter the directory for the domain: compucen.com
Default directory: /home/wwwroot/compucen.com: /home/wwwroot/life
Virtual Host Directory: /home/wwwroot/life
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): wordpress
You choose rewrite: wordpress
Enable PHP Pathinfo? (y/n) y
Enable pathinfo.
Allow access log? (y/n) y
Enter access log filename(Default:compucen.com.log): life
You access log filename: life.log
Create database and MySQL user with same name (y/n) n
Add SSL Certificate (y/n) y
1: Use your own SSL Certificate and Key
2: Use Let's Encrypt to create SSL Certificate and Key
Enter 1 or 2: 2
It will be processed automatically.
Press any key to start create virtul host...
Create Virtul Host directory......
set permissions of Virtual Host directory......
You select the exist rewrite rule:/usr/local/nginx/conf/rewrite/wordpress.conf
Test Nginx configure file......
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
Reload Nginx......
Reload service php-fpmdone
--2019-08-07 13:34:31--https://soft.vpser.net/lib/acme.sh/latest.tar.gz
Resolving soft.vpser.net (soft.vpser.net)... 101.37.67.17
Connecting to soft.vpser.net (soft.vpser.net)|101.37.67.17|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://202.115.33.13/soft/lib/acme.sh/latest.tar.gz
--2019-08-07 13:34:31--http://202.115.33.13/soft/lib/acme.sh/latest.tar.gz
Connecting to 202.115.33.13:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 139601 (136K)
Saving to: ‘latest.tar.gz’
100%[======================================>] 139,601 760KB/s in 0.2s
2019-08-07 13:34:31 (760 KB/s) - ‘latest.tar.gz’ saved
It is recommended to install socat first.
We use socat for standalone server if you use sta ndalone mode.
If you don't use standalone mode, just ignore thi s warning.
Installing to /usr/local/acme.sh
Installed to /usr/local/acme.sh/acme.sh
Installing alias to '/root/.bashrc'
OK, Close and reopen your terminal to start using acme.sh
Installing alias to '/root/.cshrc'
Installing alias to '/root/.tcshrc'
Installing cron job
no crontab for root
no crontab for root
Good, bash is found, so change the shebang to use bash as preferred.
OK
Redirecting to /bin/systemctl restart crond.service
Note: Forwarding request to 'systemctl enable crond.service'.
Starting create SSL Certificate use Let's Encrypt...
Create account key ok.
Registering account
Registered
ACCOUNT_THUMBPRINT='Zp2PiJpOYjcWKRLtSLE0_ASChGlQ'
Creating domain key
The domain key is here: /usr/local/nginx/conf/ssl /compucen.com/compucen.com.key
Multi domain='DNS:compucen.com,DNS:*.compucen.com '
Getting domain auth token for each domain
Getting webroot for domain='compucen.com'
Getting webroot for domain='*.compucen.com'
Error, can not get domain token entry *.compucen.com
The supported validation types are: dns-01 , but you specified: http-01
Please check log file for more details: /usr/local/acme.sh/acme.sh.log
Let's Encrypt SSL Certificate create failed!
================================================
Virtualhost infomation:
Your domain: compucen.com
Home Directory: /home/wwwroot/life
Rewrite: wordpress
Enable log: yes
Create database: no
Create ftp account: no
Enable SSL: yes
=>Let's Encrypt
================================================
# lnmp vhost del
+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| https://lnmp.org |
+-------------------------------------------+
=======================================
Current Virtualhost:
Nginx Virtualhost list:
compucen.com
=======================================
Please enter domain you want to delete: compucen.com
========================================================
Domain: compucen.com has been deleted.
Website files will not be deleted for security reasons.
You need to manually delete the website files.
========================================================
#
泛域名ssl只能使用dns方式进行认证,具体可以 https://www.vpser.net 或 https://lnmp.org 上搜索:泛域名ssl
页:
[1]