Skip to content

Commit eb5dd02

Browse files
authored
Merge pull request #241 from Icinga:feature/force_new_tls_versions_on_rest_api_checks
Feature: Force new TLS version for REST Ensures we use TLS 1.1 and 1.2 for REST-Api calls, as used certificates in general are created with these.
2 parents 566a64c + bcb24e0 commit eb5dd02

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

doc/31-Changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
1616
* [#229](https://github.com/Icinga/icinga-powershell-framework/pull/229) CustomFields defined as `SecureString` are now set to `hidden` within the Icinga Director configuration basket - please read the [upgrading docs](30-upgrading-framework.md) carefully
1717
* [#234](https://github.com/Icinga/icinga-powershell-framework/pull/234) Adds support to allow custom exception lists for Icinga Exceptions, making it easier for different modules to ship their own exception messages
1818
* [#235](https://github.com/Icinga/icinga-powershell-framework/pull/235) Adds new Cmdlet `Show-IcingaEventLogAnalysis` to get a better overview on how many log entries are present within the EventLog based on hour, minute and day average/maximum for allowing a more dynamic configuration for `Invoke-IcingaCheckEventLog`
19+
* [#241](https://github.com/Icinga/icinga-powershell-framework/pull/241) Ensures we use TLS 1.1 and 1.2 for REST-Api calls, as used certificates in general are created with these
20+
1921

2022
### Bugfixes
2123

icinga-powershell-framework.psd1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
'.\lib\icinga\plugin\Exit-IcingaExecutePlugin.psm1',
2525
'.\lib\icinga\exception\Exit-IcingaPluginNotInstalled.psm1',
2626
'.\lib\icinga\exception\Exit-IcingaThrowException.psm1',
27+
'.\lib\web\Set-IcingaTLSVersion.psm1',
2728
'.\lib\web\Disable-IcingaProgressPreference.psm1',
2829
'.\lib\core\tools\New-IcingaNewLine.psm1',
2930
'.\lib\core\logging\Write-IcingaConsolePlain.psm1',
@@ -63,6 +64,7 @@
6364
'Exit-IcingaExecutePlugin',
6465
'Exit-IcingaPluginNotInstalled',
6566
'Exit-IcingaThrowException',
67+
'Set-IcingaTLSVersion',
6668
'Disable-IcingaProgressPreference',
6769
'New-IcingaNewLine',
6870
'Write-IcingaConsolePlain',

lib/core/framework/Invoke-IcingaInternalServiceCall.psm1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ function Invoke-IcingaInternalServiceCall()
5050
$Timeout = $Daemon['Timeout'];
5151
}
5252

53+
Set-IcingaTLSVersion;
5354
Enable-IcingaUntrustedCertificateValidation -SuppressMessages;
5455

5556
[hashtable]$CommandArguments = @{ };

0 commit comments

Comments
 (0)