diff --git a/doc/100-General/10-Changelog.md b/doc/100-General/10-Changelog.md index 6e8e6caa..34d29989 100644 --- a/doc/100-General/10-Changelog.md +++ b/doc/100-General/10-Changelog.md @@ -12,6 +12,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic ### Bugfixes * [#759](https://github.com/Icinga/icinga-powershell-framework/pull/759) Fixes maximum cache duration for service daemons to the right value +* [#773](https://github.com/Icinga/icinga-powershell-framework/pull/773) Fixes REST-Api invoke command `Invoke-IcingaForWindowsRESTApi` by removing CA certificate check ### Enhancements diff --git a/lib/webserver/Invoke-IcingaForWindowsRESTApi.psm1 b/lib/webserver/Invoke-IcingaForWindowsRESTApi.psm1 index 2fe2611b..d569e2be 100644 --- a/lib/webserver/Invoke-IcingaForWindowsRESTApi.psm1 +++ b/lib/webserver/Invoke-IcingaForWindowsRESTApi.psm1 @@ -7,10 +7,12 @@ function Invoke-IcingaForWindowsRESTApi() [hashtable]$Body = @{ } ); + <# Disable this for now, as there is no way to properly handle this with Windows tool and localhost listener if ((Test-IcingaCAInstalledToAuthRoot) -eq $FALSE) { Write-IcingaConsoleError 'The Icinga CA certificate is not installed to the local machine certificate store. Please run the "Start-IcingaWindowsScheduledTaskRenewCertificate" command to fix this issue.'; return $null; } + #> Set-IcingaTLSVersion; Enable-IcingaUntrustedCertificateValidation -SuppressMessages;