Let's encrypt
由
2017-04-17T07:38:44.642586Z
发表于
certbot
以 cs.work 为示例,说明 certbot 申请 SSL 的过程。
目标 :为 www.cs.work 和 cs.work 申请同一个 ssl 证书
前提 :
- 将 cs.work 和 www.cs.work 域名指向该服务器的公网IP
- 登录该服务器
申请新的 SSL 证书:
git clone https://github.com/certbot/certbot.git cd certbot/ ./certbot-auto certonly --standalone --email admin@ooclab.com -d cs.work -d www.cs.work
golang
lego (Let's Encrypt 的golang版本客户端) - https://github.com/xenolf/lego