Your commit message
This commit is contained in:
10
常用脚本/uav更新证书.sh
Normal file
10
常用脚本/uav更新证书.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
export domain_name=uat
|
||||
|
||||
acme.sh --issue -dns dns_ali --force --dnssleep 2 -k ec-256 -d \*.${domain_name}.uavcmlc.com
|
||||
|
||||
acme.sh --install-cert -d \*.${domain_name}.uavcmlc.com --ecc \
|
||||
--key-file /etc/nginx/conf.d/ssl_key/x.${domain_name}.uavcmlc.key.pem \
|
||||
--fullchain-file /etc/nginx/conf.d/ssl_key/x.${domain_name}.uavcmlc.cert.pem \
|
||||
--reloadcmd "systemctl restart nginx --force"
|
||||
Reference in New Issue
Block a user