acme 生成 ssl 证书求助

2021-07-01 08:56:37 +08:00
 nbweb

证书快到期了,之前用的 certbot 不能用了,改成 acme 来生成,发现非要用 ZeroSSL,出现以下错误

root@Debian:~# acme.sh --issue -d aaaa.com --webroot /var/www/aaaa.com/ [Thu Jul 1 08:45:54 CST 2021] Using CA: https://acme.zerossl.com/v2/DV90 [Thu Jul 1 08:45:54 CST 2021] No EAB credentials found for ZeroSSL, let's get one [Thu Jul 1 08:45:54 CST 2021] acme.sh is using ZeroSSL as default CA now. [Thu Jul 1 08:45:54 CST 2021] Please update your account with an email address first. [Thu Jul 1 08:45:54 CST 2021] acme.sh --register-account -m my@example.com [Thu Jul 1 08:45:54 CST 2021] See: https://github.com/acmesh-official/acme.sh/wiki/ZeroSSL.com-CA [Thu Jul 1 08:45:54 CST 2021] Please add '--debug' or '--log' to check more details. [Thu Jul 1 08:45:54 CST 2021] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh

怎么设置 acme 用 Let's Encrypt SSL 证书?

3346 次点击
所在节点    问与答
6 条回复
neilp
2021-07-01 08:59:10 +08:00
```
acme.sh --set-default-ca --server letsencrypt

```
eason1874
2021-07-01 09:00:16 +08:00
acme.sh --set-default-ca --server letsencrypt

或者每次申请都加参 --server letsencrypt
fetich
2021-07-01 09:06:05 +08:00
certbot 怎么不能用了?
nbweb
2021-07-01 09:09:01 +08:00
@neilp
@eason1874

感谢两位,成功


@fetich 说维护太大了,并且需要 python2 支持,但是 py2 也停更了。
shenqi
2021-07-01 09:50:41 +08:00
用 docker 跑 certbot 吧,我是这样子,一次打包终身免维护。
Martin9
2021-07-01 11:31:27 +08:00
设置 cron 任务,快到期了自动续期就可以永动了

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

https://www.v2ex.com/t/786817

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

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

© 2021 V2EX