Skip to content

Commit 336b38d

Browse files
authored
Fix: REST-Api invoke command by removing CA certificate check (#773)
* Fixes REST-Api invoke command by removing CA certificate check * Updates changelog
1 parent f5d9ac9 commit 336b38d

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

doc/100-General/10-Changelog.md

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

1414
* [#759](https://github.com/Icinga/icinga-powershell-framework/pull/759) Fixes maximum cache duration for service daemons to the right value
15+
* [#773](https://github.com/Icinga/icinga-powershell-framework/pull/773) Fixes REST-Api invoke command `Invoke-IcingaForWindowsRESTApi` by removing CA certificate check
1516

1617
### Enhancements
1718

lib/webserver/Invoke-IcingaForWindowsRESTApi.psm1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ function Invoke-IcingaForWindowsRESTApi()
77
[hashtable]$Body = @{ }
88
);
99

10+
<# Disable this for now, as there is no way to properly handle this with Windows tool and localhost listener
1011
if ((Test-IcingaCAInstalledToAuthRoot) -eq $FALSE) {
1112
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.';
1213
return $null;
1314
}
15+
#>
1416

1517
Set-IcingaTLSVersion;
1618
Enable-IcingaUntrustedCertificateValidation -SuppressMessages;

0 commit comments

Comments
 (0)