请教下 Let's Encrypt 证书安装问题

2017 年 9 月 20 日
 logfile
一台服务器,只有一个 IP 地址,同时绑定了 2 个不同的域名,a.com and b.com
通过 git clone https://github.com/letsencrypt 下载 Let's Encrypt,运行 letsencrypt-auto,只能生成一个域名的证书,另外一个域名需要怎么操作才能生成另外一个证书?
请各位指教。
2310 次点击
所在节点    问与答
6 条回复
wombat
2017 年 9 月 20 日
./letsencrypt-auto certonly --standalone --email a@xxx.com -d a.com -d www.a.com

./letsencrypt-auto certonly --standalone --email b@xxx.com -d b.com -d www.b.com

这样就给 A,B 两个网站建好证书了
logfile
2017 年 9 月 20 日
thanks u @blackshadow

笨人用笨法,自己把原来的 apache2 conf 文件 a2dissite,启用 B.com 的 conf,再重新生成证书,再重新启用 A.COM 的 conf,也可以。
Marfal
2017 年 9 月 20 日
hgc81538
2017 年 9 月 20 日
certbot
caryqy
2017 年 9 月 20 日
cerbot
caryqy
2017 年 9 月 20 日

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://v2ex.ih06.com/t/392255

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX