From c8ea95564cb4a2e5f8cc795ef87961930be8355f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Thu, 19 Sep 2024 22:57:23 +0000 Subject: [PATCH] reload of TLS certificates after a crash #4658 Closes #4658 --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 382b42363..85efe4f20 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1474,6 +1474,9 @@ bool ProxySQL_daemonize_phase3() { proxy_info("ProxySQL SHA1 checksum: %s\n", binary_sha1); } call_execute_on_exit_failure(); + // automatic reload of TLS certificates after a crash , see #4658 + std::string msg; + ProxySQL_create_or_load_TLS(false, msg); parent_close_error_log(); return false; }