V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
nbweb
V2EX  ›  问与答

acme 生成 ssl 证书求助

  •  
  •   nbweb · Jul 1, 2021 · 3860 views
    This topic created in 1761 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
        1
    neilp  
       Jul 1, 2021
    ```
    acme.sh --set-default-ca --server letsencrypt

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

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

    感谢两位,成功


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