ssl证书无法生成pem文件,只有crs,和key文件
sudo lnmp dnsssljingmian@jingmian-TUF:/usr/local/nginx/conf/ssl$ sudo lnmp dnsssl
+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| https://lnmp.org |
+-------------------------------------------+
The dns manual mode can not renew automatically, you must renew it manually.
/usr/local/acme.sh/acme.sh
Please enter domain(example: www.lnmp.org): phpvue.com
Your domain: phpvue.com
Enter more domain name(example: lnmp.org *.lnmp.org): *.phpvue.com
domain list: *.phpvue.com
Please enter the directory for domain phpvue.com: /home/wwwroot/ngrok.phpvue.com
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:phpvue.com.log):
You access log filename: phpvue.com.log
Enable PHP Pathinfo? (y/n) y
Enable pathinfo.
Starting create SSL Certificate use Let's Encrypt...
Registering account
Registered
ACCOUNT_THUMBPRINT='bYVEktIBJDOR6Q_7k5DIiA0QZXO00PC0x5NFO7GA_XM'
Creating domain key
The domain key is here: /usr/local/nginx/conf/ssl/phpvue.com/phpvue.com.key
Multi domain='DNS:phpvue.com,DNS:*.phpvue.com'
Getting domain auth token for each domain
Getting webroot for domain='phpvue.com'
Getting webroot for domain='*.phpvue.com'
Add the following TXT record:
Domain: '_acme-challenge.phpvue.com'
TXT value: 'Q7Qsv951YeUtYaXiad4IwPYD5dISKjetexzvqnrepLg'
Please be aware that you prepend _acme-challenge. before your domain
so the resulting subdomain will be: _acme-challenge.phpvue.com
Add the following TXT record:
Domain: '_acme-challenge.phpvue.com'
TXT value: 'hEbWLvK2qkjQapKXIs55NdYiQ7AmrWZYQnVTwXMUW0o'
Please be aware that you prepend _acme-challenge. before your domain
so the resulting subdomain will be: _acme-challenge.phpvue.com
Please add the TXT records to the domains, and re-run with --renew.
Please check log file for more details: /usr/local/acme.sh/acme.sh.log
Please add the above TXT record to the domain in 120 seconds!!!
Renew: 'phpvue.com'
It seems that you are using dns manual mode. Read this link first: https://github.com/Neilpang/acme.sh/wiki/dns-manual-mode
Let's Encrypt SSL Certificate create failed!
jingmian@jingmian-TUF:/usr/local/nginx/conf/ssl$
jingmian@jingmian-TUF:/usr/local/nginx/conf/ssl$ ll
总用量 12
drwxr-xr-x 3 root root 4096 7月 7 13:15 ./
drwxr-xr-x 5 root root 4096 7月 7 11:02 ../
drwxr-xr-x 2 root root 4096 7月 7 13:15 phpvue.com/
jingmian@jingmian-TUF:/usr/local/nginx/conf/ssl$ cd phpvue.com/
jingmian@jingmian-TUF:/usr/local/nginx/conf/ssl/phpvue.com$ ll
总用量 24
drwxr-xr-x 2 root root 4096 7月 7 13:15 ./
drwxr-xr-x 3 root root 4096 7月 7 13:15 ../
-rw-r--r-- 1 root root715 7月 7 13:15 phpvue.com.conf
-rw-r--r-- 1 root root985 7月 7 13:15 phpvue.com.csr
-rw-r--r-- 1 root root222 7月 7 13:15 phpvue.com.csr.conf
-rw-r--r-- 1 root root 1679 7月 7 13:15 phpvue.com.key
请问军哥pem需要怎么生成了 没生成成功肯定就没有,生成泛域名ssl只建议使用api方式,手动添加的可能会有问题 好象跟DNS服务商那边生成TXT过程有关。
用API不是挺好么,全自动的,甚至连申请更新完直接替你重载WEB服务器都办妥。
不过acme.sh好象在我这边生成的是.cer文档,PEM是要自己合成的吧?
回复 2# 的帖子
那是不是一定要有pem文件才算成功回复 3# 的帖子
已经提示没失败,肯定就是没成功,泛域名ssl只建议用api方式
页:
[1]