部署Let's encrypt
Feb 16, 2016
刚刚发现 StartSSL 被 360 收购了,GG!看来只好换个免费证书了.那么我选择什么呢,对了!Let’s Encrypt.
首先安装他的客户端:
apt-get install letsencrypt python-letsencrypt-apache
or
emerge -av app-crypt/letsencrypt
emerge -av app-crypt/letsencrypt-apache
然后可以准备签发了!
你可以直接运行他的 CUI 来签发,十分自动和易用.
letsencrypt-auto
就是这么简单.
接下来只需要将地址指向 /etc/letsencrypt/live/ 下的证书就好
什么?你觉得这太简单了?好吧.
我们当然也是可以 CLI 操作的.格式如下:
letsencrypt-auto certonly --email 邮箱 -d 域名 --webroot -w 网站目录 --agree-tos
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.