阿里云配置https踩的坑

最近
1.
[xml]
yum install epel-release
cd /data/certificate
wget https://dl.eff.org/certbot-auto –no-check-certificate
chmod +x ./certbot-auto
./certbot-auto -n
[/xml]

2.
[xml]
./certbot-auto certonly –webroot -w /usr/local/tomcat.https/webapps -d mushiming.top -m 811080167@qq.com
[/xml]
3.
[xml]
IMPORTANT NOTES:
– Congratulations! Your certificate and chain have been saved at
/etc/letsencrypt/live/www.chen.net/fullchain.pem. Your cert will
expire on 2018-02-15. To obtain a new or tweaked version of this
certificate in the future, simply run certbot-auto again. To
non-interactively renew *all* of your certificates, run
“certbot-auto renew”
– If you like Certbot, please consider supporting our work by:

Donating to ISRG / Let’s Encrypt: https://letsencrypt.org/donate
Donating to EFF: https://eff.org/donate-le

就是生成成功。
[/xml]
4.如果失败,重新删除安装;
[xml]
rpm -qa |grep letsencrypt
rpm -qa |grep certbot
ll /etc/letsencrypt/
find / -name letsencrypt
find / -name certbot
rm -rf 所有查询到的文件或文件夹
[/xml]
5.重新安装,走一遍流程

参考:
https://hk.saowen.com/a/2fc9b5649aaa9c07b7c4d3b0a621e4618d2e959e7c5541e7fe77447b90c3ad3e
https://mrlile.com/archives/784/
https://blog.itnmg.net/2016/03/03/letsencrypt-ssl/

「点点赞赏,手留余香」

    还没有人赞赏,快来当第一个赞赏的人吧!
maven
0 条回复 A 作者 M 管理员
    所有的伟大,都源于一个勇敢的开始!
欢迎您,新朋友,感谢参与互动!欢迎您 {{author}},您在本站有{{commentsCount}}条评论