服务器上安装acme证书脚本

curl https://get.acme.sh | sh
ln -s ~/.acme.sh/acme.sh /usr/local/bin/acme.sh
acme.sh --version
apt install socat
acme.sh --register-account -m your_email@example.com
acme.sh --issue -d yourdomain.com --standalone -k ec-256
acme.sh --install-cert -d your_domain.com --key-file /path/to/your_private.key --cert-file /path/to/your_certificate.crt

发表回复