From cedbbd27e8e25abda1b7d648a491460fcb0d0f76 Mon Sep 17 00:00:00 2001 From: usmannasir Date: Sat, 14 Feb 2026 00:16:34 +0500 Subject: [PATCH] Fix Auto-SSL config injection appending garbage to acmeEmail line The string replace matched only 'adminEmails' keyword instead of the full existing line 'adminEmails root@localhost', causing the remaining ' root@localhost' to trail onto the acmeEmail line and break ACME account registration. --- install/installCyberPanel.py | 2 +- plogical/upgrade.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install/installCyberPanel.py b/install/installCyberPanel.py index 836e031d8..88e0138b7 100644 --- a/install/installCyberPanel.py +++ b/install/installCyberPanel.py @@ -507,7 +507,7 @@ module cyberpanel_ols { content = f.read() if 'autoSSL' not in content: content = content.replace( - 'adminEmails', + 'adminEmails root@localhost', 'adminEmails root@localhost\nautoSSL 1\nacmeEmail admin@cyberpanel.net', 1 ) diff --git a/plogical/upgrade.py b/plogical/upgrade.py index eac5af88a..551e74eb6 100644 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -4602,7 +4602,7 @@ pm.max_spare_servers = 3 content = f.read() if 'autoSSL' not in content: content = content.replace( - 'adminEmails', + 'adminEmails root@localhost', 'adminEmails root@localhost\nautoSSL 1\nacmeEmail admin@cyberpanel.net', 1 )