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:
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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user