27 lines
1.1 KiB
Plaintext
27 lines
1.1 KiB
Plaintext
export Ali_Key=LTAI5t8Mbg9ZwR9b9vTDrqtt # 产投集团
|
|
export Ali_Secret=WQbTm9c0MeKX8e5GgWLe1sJZLlwaFh # 产投集团
|
|
|
|
cert_1: www.yact.com.cn, yact.com.cn
|
|
acme.sh --issue --dns dns_ali -d www.yact.com.cn -d yact.com.cn \
|
|
&& acme.sh --install-cert -d www.yact.com.cn -d yact.com.cn \
|
|
--key-file /data/safeline/resources/nginx/certs/cert_1.key \
|
|
--fullchain-file /data/safeline/resources/nginx/certs/cert_1.crt \
|
|
--reloadcmd 'docker restart safeline-mgt-api'
|
|
|
|
cert_2: assets.yact.com.cn
|
|
acme.sh --issue --dns dns_ali -d assets.yact.com.cn \
|
|
&& acme.sh --install-cert -d assets.yact.com.cn \
|
|
--key-file /data/safeline/resources/nginx/certs/cert_2.key \
|
|
--fullchain-file /data/safeline/resources/nginx/certs/cert_2.crt \
|
|
--reloadcmd 'docker restart safeline-mgt-api'
|
|
|
|
cert_3: waf.yact.com.cn
|
|
acme.sh --issue --dns dns_ali -d waf.yact.com.cn \
|
|
&& acme.sh --install-cert -d waf.yact.com.cn \
|
|
--key-file /data/safeline/resources/nginx/certs/cert_3.key \
|
|
--fullchain-file /data/safeline/resources/nginx/certs/cert_3.crt \
|
|
--reloadcmd 'docker restart safeline-mgt-api'
|
|
|
|
acme.sh --install-cert -d waf.yact.com.cn \
|
|
--key-file /tmp/cert_3.key \
|
|
--fullchain-file /tmp/cert_3.crt |