1
0
mirror of https://github.com/Icinga/icinga2.git synced 2025-04-07 20:25:08 +02:00

PkiUtility::NewCa(): just warn if the CA files already exist

This commit is contained in:
Alexander A. Klimov 2019-03-01 14:37:45 +01:00
parent e2df11520e
commit 37b044ecda

@ -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;
}