mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2026-02-03 04:09:29 -05:00
Fix icingaforwindows.pfx creation over WinRM and SSH
This commit is contained in:
parent
0e341ae474
commit
3967283b2a
5 changed files with 10 additions and 6 deletions
|
|
@ -19,6 +19,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
|
|||
* [#710](https://github.com/Icinga/icinga-powershell-framework/pull/710) Fixes various console errors while running Icinga for Windows outside of an administrative shell
|
||||
* [#714](https://github.com/Icinga/icinga-powershell-framework/pull/714) Fixes missing service environment information during initial setup of Icinga for Windows v1.12 on some systems
|
||||
* [#715](https://github.com/Icinga/icinga-powershell-framework/pull/715) Fixes internal scheduled task handling and certificate renewal task by setting the user to `LocalSystem` instead of any administrative user or group, ensuring compatibility with all Windows versions as well as managing by using WinRM and SSH
|
||||
* [#716](https://github.com/Icinga/icinga-powershell-framework/pull/716) Fixes Icinga for Windows certificate creation while using WinRM or SSH for remote connections
|
||||
|
||||
## 1.12.0 (2024-03-26)
|
||||
|
||||
|
|
|
|||
|
|
@ -317,7 +317,8 @@ function Start-IcingaForWindowsInstallation()
|
|||
}
|
||||
|
||||
# Always install the Icinga for Windows certificate
|
||||
Install-IcingaForWindowsCertificate;
|
||||
# We need to run the task renewal with our scheduled task to fix errors while using WinRM / SSH
|
||||
Start-IcingaWindowsScheduledTaskRenewCertificate;
|
||||
Restart-IcingaForWindows;
|
||||
|
||||
# Update configuration and clear swap
|
||||
|
|
|
|||
|
|
@ -8,7 +8,8 @@ function Invoke-IcingaForWindowsManagementConsoleToggleFrameworkApiChecks()
|
|||
Add-IcingaRESTApiCommand -Command 'Invoke-IcingaCheck*' -Endpoint 'apichecks';
|
||||
}
|
||||
|
||||
Install-IcingaForWindowsCertificate;
|
||||
# We need to run the task renewal with our scheduled task to fix errors while using WinRM / SSH
|
||||
Start-IcingaWindowsScheduledTaskRenewCertificate;
|
||||
Enable-IcingaFrameworkApiChecks;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ function Show-IcingaForWindowsMenuManageTroubleshooting()
|
|||
'Command' = 'Show-IcingaWindowsManagementConsoleYesNoDialog';
|
||||
'Arguments' = @{
|
||||
'-Caption' = 'Install Icinga for Windows certificate';
|
||||
'-Command' = 'Install-IcingaForWindowsCertificate';
|
||||
'-Command' = 'Start-IcingaWindowsScheduledTaskRenewCertificate';
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -22,11 +22,12 @@ function Install-IcingaJEAProfile()
|
|||
return;
|
||||
}
|
||||
|
||||
Write-IcingaConsoleNotice 'Writing Icinga for Windows environment information as JEA profile'
|
||||
Write-IcingaConsoleNotice 'Writing Icinga for Windows environment information as JEA profile';
|
||||
Write-IcingaJEAProfile -RebuildFramework:$RebuildFramework -AllowScriptBlocks:$AllowScriptBlocks;
|
||||
Write-IcingaConsoleNotice 'Registering Icinga for Windows JEA profile'
|
||||
Write-IcingaConsoleNotice 'Registering Icinga for Windows JEA profile';
|
||||
Register-IcingaJEAProfile -IcingaUser $IcingaUser -TestEnv:$TestEnv -ConstrainedLanguage:$ConstrainedLanguage;
|
||||
Install-IcingaForWindowsCertificate;
|
||||
# We need to run the task renewal with our scheduled task to fix errors while using WinRM / SSH
|
||||
Start-IcingaWindowsScheduledTaskRenewCertificate;
|
||||
}
|
||||
|
||||
Set-Alias -Name 'Update-IcingaJEAProfile' -Value 'Install-IcingaJEAProfile';
|
||||
|
|
|
|||
Loading…
Reference in a new issue