很多修改
This commit is contained in:
8
998-常用脚本/研发环境相关DEMO/申请SSL证书.sh
Normal file
8
998-常用脚本/研发环境相关DEMO/申请SSL证书.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user