Merge pull request #7853 from Icinga/bugfix/windows-setup-save-cert

Windows setup wizard: Remove deprecated parameters for 'pki save-cert'
This commit is contained in:
Michael Friedrich 2020-02-26 09:49:39 +01:00 committed by GitHub
commit 59354e8bbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ namespace Icinga
_TrustedFile = Path.GetTempFileName();
processArguments = "pki save-cert --host \"" + host + "\" --port \"" + port + "\" --key \"" + pathPrefix + ".key\" --cert \"" + pathPrefix + ".crt\" --trustedcert \"" + _TrustedFile + "\"";
processArguments = "pki save-cert --host \"" + host + "\" --port \"" + port + "\" --trustedcert \"" + _TrustedFile + "\"";
if (!RunProcess(Program.Icinga2InstallDir + "\\sbin\\icinga2.exe",
processArguments,
out output)) {