SSL证书申请
对于Ubuntu/Debian系统??
bash
sudo apt update
sudo apt install socat安装Acme命令
code
curl https://get.acme.sh | sh输入以下命令创建申请账户(需要修改邮箱地址??
code
~/.acme.sh/acme.sh --register-account -m [email protected]输入以下命令申请SSL证书(需要修改域名)
code
~/.acme.sh/acme.sh --issue -d xxx.domain.com --standalonecode
~/.acme.sh --issue --dns -d jpc.yamatu.xyz \ --yes-I-know-dns-manual-mode-enough-go-ahead-pleasets
export CF_Token=""
export CF_Account_ID=""
./acme.sh --issue --dns dns_cf -d domain.com -d '*.domain.com'
export CF_Key=""
export CF_Email="[email protected]"
acme.sh --set-default-ca --server letsencrypt
DEBUG=2 acme.sh --issue --dns dns_cf -d domain.com -d '*.domain.com' --dnssleep 120ts
[Mon 28 Jul 2025 06:45:40 AM EDT] Your cert key is in: /root/.acme.sh/xxx.com_ecc/xxx.com.key
[Mon 28 Jul 2025 06:45:40 AM EDT] And the full-chain cert is in: /root/.acme.sh/xxx.com_ecc/fullchain.cer评论
还没有评论,来做第一个留言的人吧。