• 使用Let’s Encrypt为nginx开启https

    发布于:2016-12-20 作者:Garany 评论(0) 引用(0) 浏览(1139)   分类:破万卷书  

    一、首次生成证书 # git clone https://github.com/letsencrypt/letsencrypt # cd letsencrypt/ 二、域名认证 # ./letsencrypt-auto --debug certonly --webroot --email garany@qq.com -d ssl.junc.wang -w /var/www/wordpress/ 说明: --webroot 用web服务根目录方式认证 ./letsencrypt-auto --debug certonly --email you.email --webroot -w /var/www/example -d example.com -w /var/www/thing -d thing.net -d m.thing.net      --apache web服务是apache的使...

    阅读全文>>