Skip to content

Commit cc1762b

Browse files
authored
Merge pull request #146 from Icinga/fix/api_disabled_after_successfull_cert_installation
Fix: Icinga API being disabled after successfull certificate installation
2 parents 3f56d6f + ee4e890 commit cc1762b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/31-Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
2222
### Bugfixes
2323

2424
* [#059](https://github.com/Icinga/icinga-powershell-framework/issues/059), [#060](https://github.com/Icinga/icinga-powershell-framework/pull/060) Fixes interface handling for multiple interfaces and returns only the main interface by fallback to routing table and adds support for Windows 2008 R2
25+
* [#114](https://github.com/Icinga/icinga-powershell-framework/issues/114)[#146](https://github.com/Icinga/icinga-powershell-framework/pull/146) Fixes Icinga Agent API being wrongly disabled after successful certificate configuration and installation
2526
* [#127](https://github.com/Icinga/icinga-powershell-framework/issues/127) Fixes wrong error message on failed MSSQL connection due to database not reachable by using `-IntegratedSecurity`
2627
* [#128](https://github.com/Icinga/icinga-powershell-framework/issues/128) Fixes unhandled output from loading `System.Reflection.Assembly` which can cause weird side effects for plugin outputs
2728
* [#130](https://github.com/Icinga/icinga-powershell-framework/issues/130) Fix crash while running services as background task to collect metrics over time by missing Performance Counter cache initialisation

lib/core/icingaagent/misc/Start-IcingaAgentInstallWizard.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ function Start-IcingaAgentInstallWizard()
561561
Install-IcingaAgentBaseFeatures;
562562
$CertsInstalled = Install-IcingaAgentCertificates -Hostname $Hostname -Endpoint $CAEndpoint -Port $CAPort -CACert $CAFile -Ticket $Ticket;
563563
Write-IcingaAgentApiConfig -Port $CAPort;
564-
if ($EmptyCA -eq $TRUE -Or $CertsInstalled -eq $FALSE) {
564+
if ($EmptyCA -eq $TRUE -And $CertsInstalled -eq $FALSE) {
565565
Disable-IcingaAgentFeature 'api';
566566
Write-IcingaConsoleWarning `
567567
-Message '{0}{1}{2}{3}{4}' `

0 commit comments

Comments
 (0)