From 37b044ecdad796c8ba1309de764525c15b8b115d Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Fri, 1 Mar 2019 14:37:45 +0100 Subject: [PATCH] PkiUtility::NewCa(): just warn if the CA files already exist --- lib/remote/pkiutility.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/remote/pkiutility.cpp b/lib/remote/pkiutility.cpp index 56a7ed257..e1e785288 100644 --- a/lib/remote/pkiutility.cpp +++ b/lib/remote/pkiutility.cpp @@ -24,7 +24,7 @@ int PkiUtility::NewCa() String caKeyFile = caDir + "/ca.key"; if (Utility::PathExists(caCertFile) && Utility::PathExists(caKeyFile)) { - Log(LogCritical, "cli") + Log(LogWarning, "cli") << "CA files '" << caCertFile << "' and '" << caKeyFile << "' already exist."; return 1; }