acme


項目地址: Acme

Acme 部屬

1
curl https://get.acme.sh | sh -s [email protected]

申請證書

默認模式http

1
acme.sh --issue -d example.com

默認模式dns

1
acme.sh --issue --dns -d example.com

多網域一起

1
acme.sh --issue --dns -d example.com -d *.example.com

將證書合成.pem

1
2
3
4
acme.sh --install-cert -d example.com \
--key-file /root/.acme.sh/example.com_ecc/example.com.key \
--fullchain-file /root/.acme.sh/example.com_ecc/fullchain.cer \
--reloadcmd "cat /root/.acme.sh/example.com_ecc/example.com.key /root/.acme.sh/example.com_ecc/fullchain.cer > /root/.acme.sh/example.com_ecc/example.com.com.pem && systemctl reload nginx"

可以申請的server