mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2026-02-03 12:19:29 -05:00
Fix: REST-Api invoke command by removing CA certificate check (#773)
* Fixes REST-Api invoke command by removing CA certificate check * Updates changelog
This commit is contained in:
parent
f5d9ac943c
commit
336b38dddd
2 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue