From: Glen Huang Date: Thu, 17 Nov 2022 16:00:53 +0000 (+0800) Subject: acme: make certificates use .crt as the extension X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=d6a24ecb66e4b70ec5d5be0ba93ed5065b45e4a9;p=feed%2Fpackages.git acme: make certificates use .crt as the extension Signed-off-by: Glen Huang --- diff --git a/net/acme-acmesh/files/hook.sh b/net/acme-acmesh/files/hook.sh index e736dc5996..89c61a58ec 100644 --- a/net/acme-acmesh/files/hook.sh +++ b/net/acme-acmesh/files/hook.sh @@ -46,7 +46,8 @@ get) case $status in 0) $NOTIFY renewed - exit;; + exit + ;; 2) # renew skipped, ignore. exit @@ -109,10 +110,10 @@ get) case $status in 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/fullchain.cer" "/etc/ssl/acme/$main_domain.fullchain.cer" - ln -s "$domain_dir/ca.cer" "/etc/ssl/acme/$main_domain.chain.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.crt" $NOTIFY issued ;; *)