码迷,mamicode.com
首页 > 系统相关 > 详细

[centOS] [Ubuntu] let's encrypt

时间:2018-02-23 20:53:03      阅读:231      评论:0      收藏:0      [点我收藏+]

标签:erro   rto   date   top   release   chain   only   apt-get   ase   

ubuntu

   

sudo apt-get update
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install certbot
service nginx stop
certbot certonly --standalone --email your@email.com -d yourdomain.com

 

 

centOs

yum install -y epel-release
yum install -y certbot

如果报AttributeError: ‘X509‘ object has no attribute ‘_x509‘

解决方案:http://blog.csdn.net/default7/article/details/78546186

nginx

ssl_certificate   /etc/letsencrypt/live/123456.cloud/fullchain.pem;
ssl_certificate_key  /etc/letsencrypt/live/123456.cloud/privkey.pem;

 

[centOS] [Ubuntu] let's encrypt

标签:erro   rto   date   top   release   chain   only   apt-get   ase   

原文地址:https://www.cnblogs.com/lazySmeagol/p/8463166.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!