From 416f807fa73e31f2580cfe2f7fd14c5120405047 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Slavi=C5=A1a=20Are=C5=BEina?= <58952836+tremor021@users.noreply.github.com> Date: Mon, 1 Dec 2025 19:35:22 +0100 Subject: [PATCH 1/3] Update SSL key and certificate paths for Actual Budget --- install/actualbudget-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/actualbudget-install.sh b/install/actualbudget-install.sh index d713fe889ef..5326d60ab47 100644 --- a/install/actualbudget-install.sh +++ b/install/actualbudget-install.sh @@ -44,8 +44,8 @@ cat </opt/actualbudget-data/config.json "fc00::/7" ], "https": { - "key": "/etc/ssl/actualbudget/actualbudget.key", - "cert": "/etc/ssl/actualbudget/actualbudget.crt" + "key": "/etc/ssl/Actual Budget/Actual Budget.key", + "cert": "/etc/ssl/Actual Budget/Actual Budget.crt" } } EOF From f2d57a6f60af46affeb33c036962fb7fcb33ccd1 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 1 Dec 2025 20:04:10 +0100 Subject: [PATCH 2/3] Use lowercase app name for certificate paths --- misc/tools.func | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/misc/tools.func b/misc/tools.func index dd35c5c7fd8..088a6359e04 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -1535,9 +1535,10 @@ check_for_gh_release() { # ------------------------------------------------------------------------------ create_self_signed_cert() { local APP_NAME="${1:-${APPLICATION}}" - local CERT_DIR="/etc/ssl/${APP_NAME}" - local CERT_KEY="${CERT_DIR}/${APP_NAME}.key" - local CERT_CRT="${CERT_DIR}/${APP_NAME}.crt" + local APP_NAME_LC=$(echo "${APP_NAME,,}" | tr -d ' ') + local CERT_DIR="/etc/ssl/${APP_NAME_LC}" + local CERT_KEY="${CERT_DIR}/${APP_NAME_LC}.key" + local CERT_CRT="${CERT_DIR}/${APP_NAME_LC}.crt" if [[ -f "$CERT_CRT" && -f "$CERT_KEY" ]]; then return 0 From 3aa382f4ecf0982e00d96194ce4b3b8f8ed2b28f Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 1 Dec 2025 20:04:49 +0100 Subject: [PATCH 3/3] revert changes at actualbudget --- install/actualbudget-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/actualbudget-install.sh b/install/actualbudget-install.sh index 5326d60ab47..d713fe889ef 100644 --- a/install/actualbudget-install.sh +++ b/install/actualbudget-install.sh @@ -44,8 +44,8 @@ cat </opt/actualbudget-data/config.json "fc00::/7" ], "https": { - "key": "/etc/ssl/Actual Budget/Actual Budget.key", - "cert": "/etc/ssl/Actual Budget/Actual Budget.crt" + "key": "/etc/ssl/actualbudget/actualbudget.key", + "cert": "/etc/ssl/actualbudget/actualbudget.crt" } } EOF