xdtianyu / scripts

scripts for work
https://www.xdty.org
1.03k stars 245 forks source link

nginx centos6.6 #35

Closed kaixulucky closed 7 years ago

kaixulucky commented 7 years ago

[root@hjl10001 ]#./le-dnspod.sh dnspod.conf

INFO: Using main config file dnspod.conf

To use dehydrated with this certificate authority you have to agree to their terms of service which you can find here: https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf

To accept these terms of service run ./letsencrypt.sh --register --accept-terms.

INFO: Using main config file dnspod.conf

xdtianyu commented 7 years ago

请删除脚本目录下除 dnspod.conf 文件外的其他文件和文件夹后,再试下执行下面命令

wget https://github.com/xdtianyu/scripts/raw/master/le-dns/le-dnspod.sh
chmod +x le-dnspod.sh
./le-dnspod.sh dnspod.conf
kaixulucky commented 7 years ago

感谢!我试下

kaixulucky commented 7 years ago

谢谢,上个问题已解决,当前目录下已生成: [root@hjl10001 ]#ll 总用量 8 -rw------- 1 root root 1740 2月 10 16:55 cert-1486716931.csr -rw------- 1 root root 0 2月 10 16:55 cert-1486716931.pem -rw------- 1 root root 3243 2月 10 16:55 privkey-1486716931.pem 但是命令执行最后报错: [root@hjl10001 ]#./le-dnspod.sh dnspod.conf

INFO: Using main config file dnspod.conf

xdtianyu commented 7 years ago

这个错误是连接 le 服务器认证时出错了吧,你再试一次或者最好在国外网络环境下操作。

kaixulucky commented 7 years ago

thank you very much!!!!!!!!!!!!!! 这会删除其它所有文件只留dnspod.conf le-dnspod.sh两个文件,重新执行,没报任何错了。