]> granicus.if.org Git - icinga2/commitdiff
PkiUtility::NewCa(): just warn if the CA files already exist 6991/head
authorAlexander A. Klimov <alexander.klimov@icinga.com>
Fri, 1 Mar 2019 13:37:45 +0000 (14:37 +0100)
committerAlexander A. Klimov <alexander.klimov@icinga.com>
Fri, 1 Mar 2019 13:37:45 +0000 (14:37 +0100)
lib/remote/pkiutility.cpp

index 56a7ed257e3170759dacd7fb9b6be1b6e96b0c3c..e1e78528865ce004cc3746d66d26d6f2a4ba3773 100644 (file)
@@ -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;
        }