From d58e6b8cf87d5325626298accaf8f32abf273032 Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch>
Date: Mon, 4 Apr 2022 10:01:43 +0200
Subject: [PATCH] bugfix acme stro

---
 cm.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cm.sh b/cm.sh
index 166117d..63f9ec4 100755
--- a/cm.sh
+++ b/cm.sh
@@ -520,7 +520,7 @@ function public_renew(){
 
 	# BUGFIX: acme.sh does not create a new key file on renew.
 	# After switching from csr method to pram -d we got a 0 byte Keyfile
-	local _acme_keyfile="~/.acme/${CM_fqdn}/${CM_fqdn}.key"
+	local _acme_keyfile="~/.acme.sh/${CM_fqdn}/${CM_fqdn}.key"
 	if test ! -f "$_acme_keyfile"
 	then
 		echo "FIX: copy key from csr folder $CM_filekey to $_acme_keyfile"
-- 
GitLab