#!/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"