Linux免费SSL证书

  1. 作者QQ:67065435 QQ群:669756510

  2. 本站内容全部为作者原创,转载请注明出处!

安装acme.sh

  1. 安装acme.sh

    git clone https://gitee.com/neilpang/acme.sh.git
    cd acme.sh
    ./acme.sh --install -m 67065435@qq.com
    source ~/.bashrc
    
  2. 修改配置

    vim ~/.acme.sh/account.conf
    
    export Ali_Key="XXXXXXXXXXXXXXXX"
    export Ali_Secret="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
    
    ESC
    :wq
    

生成证书

  1. 生成证书

    # 生成证书(存储位置会有提示)
    acme.sh --issue --dns dns_ali -d "xxx.com" -d "*.xxx.com"
    
    # 续签证书(所有)
    acme.sh --renew-all
    
    # 续签证书(特定)
    acme.sh --renew -d "xxx.com" -d "*.xxx.com"
    
    # 吊销证书
    acme.sh --revoke -d "xxx.com" -d "*.xxx.com"
    
    # 删除证书(仅从acme.sh管理列表移除)
    acme.sh --remove -d "xxx.com" -d "*.xxx.com"
    
Copyright © 鲸小鱼 2012-∞ all right reserved,powered by Gitbook修订: 2026-05-06 21:06

results matching ""

    No results matching ""