let's encrypt免费证书申请及使用

let's encrypt是国外一家提供免费ssl域名证书的机构,申请过程非常简单,但是免费期只有90天,不过到期可以免费续签。

下载let's encrypt的注册工具:

注册: 

cd letsencrypt

./letsencrypt-auto certonly --standalone --email [email protected] -d muyutingtao.com -d www.muyutingtao.com

续期:

./letsencrypt-auto certonly --renew-by-default --email [email protected] -d muyutingtao.com -d www.muyutingtao.com

避免忘记续期,把上述操作写成脚本定时运行:

#!/bin/bash
 cd  /root/letsencrypt/
./letsencrypt-auto certonly --renew-by-default --email [email protected] -d muyutingtao.com -d www.muyutingtao.com



发布了91 篇原创文章 · 获赞 25 · 访问量 25万+

猜你喜欢

转载自blog.csdn.net/kevin3101/article/details/79422238
今日推荐