From ccc7cf78a7ca8b3349c45706b8b03e1ed6bc44d6 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 11 Oct 2024 15:43:17 +0200 Subject: [webinterface] Remove the 'off' option for HTTPS As we always use a self-signed certificate for client communication, you cannot really turn off HTTPS, and explicitly generating another self-signed certificate for slx-admin is rather pointless. So internally, we actually remove the option for a self-signed certificate, and rename the "off" option to using a self-signed one. --- modules-available/webinterface/api.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules-available/webinterface/api.inc.php') diff --git a/modules-available/webinterface/api.inc.php b/modules-available/webinterface/api.inc.php index 0b4fabdb..271ccc60 100644 --- a/modules-available/webinterface/api.inc.php +++ b/modules-available/webinterface/api.inc.php @@ -21,7 +21,7 @@ if (empty($newCert)) { // Import will try to validate the certificate too $task = WebInterface::tmImportCustomCert($newKey, $newCert, 'api', - 'New HTTPS certificate uploaded via API from ' . $_SERVER['REMOTE_ADDR']); + 'Applying new HTTPS certificate uploaded via API from ' . $_SERVER['REMOTE_ADDR']); $task = Taskmanager::waitComplete($task, 10000); if (!Taskmanager::isTask($task)) { http_send_status(500); -- cgit v1.2.3-55-g7522