Files
2024-12-08 12:07:11 +08:00

8 lines
326 B
Bash

#!/bin/bash
acme.sh --issue --dns dns_ali --force --dnssleep 2 -k ec-256 -d lab.uavcmlc.com
acme.sh --install-cert -d lab.uavcmlc.com --ecc \
--key-file /etc/nginx/conf.d/ssl_key/lab.uavcmlc.key.pem \
--fullchain-file /etc/nginx/conf.d/ssl_key/lab.uavcmlc.cert.pem \
--reloadcmd "systemctl restart nginx --force"