acme: make certificates use .crt as the extension
Signed-off-by: Glen Huang <i@glenhuang.com>
This commit is contained in:
parent
e3dc753781
commit
d6a24ecb66
1 changed files with 5 additions and 4 deletions
|
@ -46,7 +46,8 @@ get)
|
||||||
case $status in
|
case $status in
|
||||||
0)
|
0)
|
||||||
$NOTIFY renewed
|
$NOTIFY renewed
|
||||||
exit;;
|
exit
|
||||||
|
;;
|
||||||
2)
|
2)
|
||||||
# renew skipped, ignore.
|
# renew skipped, ignore.
|
||||||
exit
|
exit
|
||||||
|
@ -109,10 +110,10 @@ get)
|
||||||
|
|
||||||
case $status in
|
case $status in
|
||||||
0)
|
0)
|
||||||
ln -s "$domain_dir/$main_domain.cer" /etc/ssl/acme
|
ln -s "$domain_dir/$main_domain.cer" "/etc/ssl/acme/$main_domain.crt"
|
||||||
ln -s "$domain_dir/$main_domain.key" /etc/ssl/acme
|
ln -s "$domain_dir/$main_domain.key" /etc/ssl/acme
|
||||||
ln -s "$domain_dir/fullchain.cer" "/etc/ssl/acme/$main_domain.fullchain.cer"
|
ln -s "$domain_dir/fullchain.cer" "/etc/ssl/acme/$main_domain.fullchain.crt"
|
||||||
ln -s "$domain_dir/ca.cer" "/etc/ssl/acme/$main_domain.chain.cer"
|
ln -s "$domain_dir/ca.cer" "/etc/ssl/acme/$main_domain.chain.crt"
|
||||||
$NOTIFY issued
|
$NOTIFY issued
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in a new issue