nbweb
V2EX  ›  问与答

acme 生成 ssl 证书求助

  •  
  •   nbweb · Jul 1, 2021 · 4381 views
    This topic created in 1958 days ago, the information mentioned may be changed or developed.

    证书快到期了,之前用的 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 [email protected] [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 证书?

    6 replies  •  2021-07-01 11:31:27 +08:00
    neilp
    neilp
    Jul 1, 2021
    1
    ```
    acme.sh --set-default-ca --server letsencrypt

    ```
    eason1874
    eason1874
    Jul 1, 2021
    2
    acme.sh --set-default-ca --server letsencrypt

    或者每次申请都加参 --server letsencrypt
    fetich
    fetich
    Jul 1, 2021
    3
    certbot 怎么不能用了?
    nbweb
    nbweb
    OP
    Jul 1, 2021
    4
    @neilp
    @eason1874

    感谢两位,成功


    @fetich 说维护太大了,并且需要 python2 支持,但是 py2 也停更了。
    shenqi
    shenqi
    Jul 1, 2021
    5
    用 docker 跑 certbot 吧,我是这样子,一次打包终身免维护。
    Martin9
    Martin9
    Jul 1, 2021
    6
    设置 cron 任务,快到期了自动续期就可以永动了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4645 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 01:37 · PVG 09:37 · LAX 17:37 · JFK 20:37
    ♥ Do have faith in what you're doing.