[icinga-checkins] icinga.org: icinga2/master: Remove obsolete reference to serial.txt

git at icinga.org git at icinga.org
Wed Aug 17 16:20:06 CEST 2016


Module: icinga2
Branch: master
Commit: d1dc1188e18492051e2c93d4d205ff659ed3c166
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=d1dc1188e18492051e2c93d4d205ff659ed3c166

Author: Rune Darrud <theflyingcorpse at gmail.com>
Date:   Wed Aug 17 15:57:45 2016 +0200

Remove obsolete reference to serial.txt

fixes #12467

Signed-off-by: Michael Friedrich <michael.friedrich at netways.de>

---

 lib/cli/apisetuputility.cpp |    2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/cli/apisetuputility.cpp b/lib/cli/apisetuputility.cpp
index 3af4323..027a7d2 100644
--- a/lib/cli/apisetuputility.cpp
+++ b/lib/cli/apisetuputility.cpp
@@ -120,7 +120,6 @@ bool ApiSetupUtility::SetupMasterCertificates(const String& cn)
 	String ca_path = PkiUtility::GetLocalCaPath();
 	String ca = ca_path + "/ca.crt";
 	String ca_key = ca_path + "/ca.key";
-	String serial = ca_path + "/serial.txt";
 	String target_ca = pki_path + "/ca.crt";
 
 	Log(LogInformation, "cli")
@@ -137,7 +136,6 @@ bool ApiSetupUtility::SetupMasterCertificates(const String& cn)
 	files.push_back(ca_path);
 	files.push_back(ca);
 	files.push_back(ca_key);
-	files.push_back(serial);
 	files.push_back(target_ca);
 	files.push_back(key);
 	files.push_back(csr);



More information about the icinga-checkins mailing list