From 500067a7782260ff9446601caf924fd16badc458 Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Wed, 12 Feb 2025 23:08:46 -0500 Subject: [PATCH] fix: generate cert if tls is on and its not found fixes #8191 fixes #8192 --- src/apps/deskflow-gui/MainWindow.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/apps/deskflow-gui/MainWindow.cpp b/src/apps/deskflow-gui/MainWindow.cpp index d5c21c58d..b7d5a3e00 100644 --- a/src/apps/deskflow-gui/MainWindow.cpp +++ b/src/apps/deskflow-gui/MainWindow.cpp @@ -1082,8 +1082,9 @@ bool MainWindow::regenerateLocalFingerprints() { TlsCertificate tls; if (!tls.generateFingerprint(m_appConfig.tlsCertPath())) { - QMessageBox::critical(this, tr("TLS Fingerprint Error"), tr("Failed to calculate keys")); - return false; + if (!m_tlsUtility.generateCertificate()) { + return false; + } } return true; }